aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename managers to encodersStefan Pöschel2017-08-235-44/+44
|
* Move current PAD encoder algorithm into subclassStefan Pöschel2017-08-232-24/+46
| | | | | This allows to replace the current PAD encoding algorithm by alternative methods in the future.
* Print used PAD length to logStefan Pöschel2017-08-231-7/+7
|
* DLS: small debug fixesStefan Pöschel2017-08-231-3/+2
|
* Improve perror usageStefan Pöschel2017-08-232-7/+4
|
* Refactor basic PAD encoder structureStefan Pöschel2017-08-232-54/+108
| | | | | | - move main process into new PAD encoder object - hand over options by new separate options object - unify default value retrieval in usage
* SLS: fix open slide file in error caseStefan Pöschel2017-08-231-0/+2
|
* SLS: show precise slides dir open errorStefan Pöschel2017-08-231-1/+1
|
* Move includes/static vars into new main headerStefan Pöschel2017-08-223-21/+51
|
* SLS: move slides dir scan to new slide storeStefan Pöschel2017-08-223-60/+83
|
* README: update ImageMagick memleak noteStefan Pöschel2017-08-051-8/+10
|
* Always show version/copyright headerStefan Pöschel2017-07-031-3/+8
| | | | Also update website URL to HTTPS
* Bump version to 2.2.0v2.2.0Stefan Pöschel2017-04-301-1/+1
|
* Add support for ImageMagick version 7Stefan Pöschel2017-04-304-2/+13
| | | | | | | | | Version 7 introduced slight API changes which are handled accordingly. Legacy version 6 has equivalent support in ODR-PadEnc and there are no plans to remove support for the next years. See also #3.
* Move break handler modificationStefan Pöschel2017-04-301-14/+14
| | | | | Move them right before the loop, as before a break (e.g. while waiting for the audio decoder opening the pipe) didn't lead to termination.
* Move ANSI color tokens to common partStefan Pöschel2017-04-074-7/+14
|
* Add recovery on broken pipeStefan Pöschel2017-04-072-2/+14
| | | | | | | | | When the opposite side of the PAD FIFO disconnects (e.g. due to crash of the audio encoder), ODR-PadEnc crashed as well due to SIGPIPE. This commit changes the behaviour. From now on instead error messages are displayed and it is possible for a new instance of the audio encoder to reconnect to the still running ODR-PadEnc instance.
* Refactor SLSManager::encodeFileStefan Pöschel2017-04-071-57/+43
| | | | | | - fix compile warning w/o MagickWand - limit variable scope - fix variable types
* Fix setting of removed variableStefan Pöschel2017-04-071-1/+0
| | | | | | | The variable survived a refactoring and is orphaned since. Only compilation without MagickWand was affected. Fixes #4.
* README: Clarify required MagickWand versionStefan Pöschel2017-04-061-3/+7
| | | | Affects #3.
* Use C headers where appropriateStefan Pöschel2017-03-182-3/+3
| | | | | Using the C++ versions does not guarantee the availability of the global namespace functions.
* Add cleanup before terminationStefan Pöschel2017-03-101-2/+32
| | | | | Add signal handler for SIGINT and SIGTERM that closes the output socket and deinits ImageMagick (if used).
* SLS: output ImageMagick version in verbose modeStefan Pöschel2017-03-101-0/+2
|
* Bump version to 2.1.1v2.1.1Stefan Pöschel2017-03-091-1/+1
|
* README: add ImageMagick Ubuntu 16.04 memleak noteStefan Pöschel2017-03-091-1/+10
| | | | | | | Ubuntu 16.04 currently ships an ImageMagick version that was affected by a memleak and is fixed since v6.9.2-2: http://git.imagemagick.org/repos/ImageMagick/commit/6790815c75bdea0357df5564345847856e995d6b Closes #2.
* Fix printf format warningStefan Pöschel2017-03-091-1/+1
|
* SLS: fix also missed freeStefan Pöschel2017-03-091-1/+1
|
* SLS: free with MagickRelinquishMemory where neededStefan Pöschel2017-03-071-7/+14
|
* SLS: fix conditional memleakStefan Pöschel2017-03-071-0/+3
| | | | | | | | | | A memleak occured when non-raw mode was used and a slide complied to the following conditions: - PNG/JPG file - 320x240 resolution or less - size above max slide size (~50 KB) Closes #2.
* Bump versionv2.1.0Stefan Pöschel2017-02-191-1/+1
|
* DLS: emit warning on shortened oversized textStefan Pöschel2017-02-171-1/+3
|
* Hide/Move constantsStefan Pöschel2017-02-155-24/+27
|
* Fix sleep delay to include encoding timeStefan Pöschel2017-02-151-1/+6
| | | | | | | | Up to now the delay between two loop runs was slightly higher than the specified sleep delay as the sleeping process did not consider the time the PAD encoding needs but rather sleeped for the set sleep delay. This is now fixed by using a steady clock.
* Fix slide name coloringStefan Pöschel2017-02-151-4/+4
|
* Fix alphabetic slide sortingStefan Pöschel2017-02-151-23/+28
| | | | | | | The alphabetic sorting within the slide dir was ignored so far. Now the sorting is considered while adding slides for transmission. Furthermore now also files starting with "." are added (except the ./.. dirs).
* Refactor main loopStefan Pöschel2017-02-151-82/+73
|
* Small refactoringsStefan Pöschel2017-02-157-57/+61
|
* DLS/SLS: use ANSI colors for label/filenameStefan Pöschel2017-02-112-3/+3
|
* DLS: add feature to switch between multiple filesStefan Pöschel2017-02-111-20/+36
|
* Slight refactoringsStefan Pöschel2017-02-113-10/+19
| | | | - SLSManager: store PADPacketizer ref + fix spacing
* Move Slideshow stuff to new SLSManagerStefan Pöschel2017-02-116-848/+946
|
* Slight refactoringsStefan Pöschel2017-02-115-61/+56
| | | | | | | | - DLSManager: store PADPacketizer ref - DABCharset: convert enum to enum class - DL cmd prefix: output reserved instead of charset (does not make a difference) - MOT header: get charset from enum class - .gitignore: add Eclipse files
* Move DLS stuff to new DLSManagerStefan Pöschel2017-02-114-423/+514
|
* Tiny fixesStefan Pöschel2017-02-112-0/+6
|
* Move charset to separate source file to prevent multi-include errorsStefan Pöschel2017-02-113-28/+56
|
* Move common code partsStefan Pöschel2017-02-114-13/+46
|
* Replace tabs by spacesStefan Pöschel2017-02-061-25/+25
|
* PAD: limit packetizer visibilityStefan Pöschel2017-02-061-29/+24
|
* PAD: insert DLS regularly while SLS transmissionStefan Pöschel2017-02-063-18/+34
| | | | | | | | | | | | | | | When a slide is transmitted, now every 50 PADs the current DLS is inserted (and thereby reread from file). Hence in the best case (AAC-LC @ 48 kHz), DLS is inserted every 1000ms; in the worst case (HE-AAC @ 32 kHz) it is inserted every 3000ms. This way a listener will get DLS much earlier after switching to a service, compared to the previous situation where the slide transmission was not interrupted for DLS insertion. Note that there still remains a delay without any PAD, between the end of a slide transmission and the start of the next one's transmission. Also note that adding a feedback channel from the audio encoder to ODR-PadEnc will make this improvement obsolete.
* PAD: make PADPacketizer queue privateStefan Pöschel2017-02-063-8/+18
|