Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move break handler modification | Stefan Pöschel | 2017-04-30 | 1 | -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 part | Stefan Pöschel | 2017-04-07 | 4 | -7/+14 |
| | |||||
* | Add recovery on broken pipe | Stefan Pöschel | 2017-04-07 | 2 | -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::encodeFile | Stefan Pöschel | 2017-04-07 | 1 | -57/+43 |
| | | | | | | - fix compile warning w/o MagickWand - limit variable scope - fix variable types | ||||
* | Fix setting of removed variable | Stefan Pöschel | 2017-04-07 | 1 | -1/+0 |
| | | | | | | | The variable survived a refactoring and is orphaned since. Only compilation without MagickWand was affected. Fixes #4. | ||||
* | Use C headers where appropriate | Stefan Pöschel | 2017-03-18 | 2 | -3/+3 |
| | | | | | Using the C++ versions does not guarantee the availability of the global namespace functions. | ||||
* | Add cleanup before termination | Stefan Pöschel | 2017-03-10 | 1 | -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 mode | Stefan Pöschel | 2017-03-10 | 1 | -0/+2 |
| | |||||
* | Fix printf format warning | Stefan Pöschel | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | SLS: fix also missed free | Stefan Pöschel | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | SLS: free with MagickRelinquishMemory where needed | Stefan Pöschel | 2017-03-07 | 1 | -7/+14 |
| | |||||
* | SLS: fix conditional memleak | Stefan Pöschel | 2017-03-07 | 1 | -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. | ||||
* | DLS: emit warning on shortened oversized text | Stefan Pöschel | 2017-02-17 | 1 | -1/+3 |
| | |||||
* | Hide/Move constants | Stefan Pöschel | 2017-02-15 | 5 | -24/+27 |
| | |||||
* | Fix sleep delay to include encoding time | Stefan Pöschel | 2017-02-15 | 1 | -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 coloring | Stefan Pöschel | 2017-02-15 | 1 | -4/+4 |
| | |||||
* | Fix alphabetic slide sorting | Stefan Pöschel | 2017-02-15 | 1 | -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 loop | Stefan Pöschel | 2017-02-15 | 1 | -82/+73 |
| | |||||
* | Small refactorings | Stefan Pöschel | 2017-02-15 | 7 | -57/+61 |
| | |||||
* | DLS/SLS: use ANSI colors for label/filename | Stefan Pöschel | 2017-02-11 | 2 | -3/+3 |
| | |||||
* | DLS: add feature to switch between multiple files | Stefan Pöschel | 2017-02-11 | 1 | -20/+36 |
| | |||||
* | Slight refactorings | Stefan Pöschel | 2017-02-11 | 3 | -10/+19 |
| | | | | - SLSManager: store PADPacketizer ref + fix spacing | ||||
* | Move Slideshow stuff to new SLSManager | Stefan Pöschel | 2017-02-11 | 5 | -848/+944 |
| | |||||
* | Slight refactorings | Stefan Pöschel | 2017-02-11 | 4 | -61/+51 |
| | | | | | | | | - 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 DLSManager | Stefan Pöschel | 2017-02-11 | 3 | -423/+512 |
| | |||||
* | Tiny fixes | Stefan Pöschel | 2017-02-11 | 2 | -0/+6 |
| | |||||
* | Move charset to separate source file to prevent multi-include errors | Stefan Pöschel | 2017-02-11 | 2 | -28/+55 |
| | |||||
* | Move common code parts | Stefan Pöschel | 2017-02-11 | 3 | -13/+45 |
| | |||||
* | Replace tabs by spaces | Stefan Pöschel | 2017-02-06 | 1 | -25/+25 |
| | |||||
* | PAD: limit packetizer visibility | Stefan Pöschel | 2017-02-06 | 1 | -29/+24 |
| | |||||
* | PAD: insert DLS regularly while SLS transmission | Stefan Pöschel | 2017-02-06 | 3 | -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 private | Stefan Pöschel | 2017-02-06 | 3 | -8/+18 |
| | |||||
* | Relocate common PAD code | Stefan Pöschel | 2017-02-04 | 3 | -328/+404 |
| | |||||
* | Add common header | Stefan Pöschel | 2017-02-04 | 4 | -6/+42 |
| | |||||
* | Code cleanup | Stefan Pöschel | 2017-02-04 | 2 | -57/+48 |
| | |||||
* | MOT header: simplify extension addition | Stefan Pöschel | 2017-01-06 | 1 | -30/+41 |
| | |||||
* | Remove 'misleading indentation' warning due to tab in file | Matthias P. Braendli | 2016-12-26 | 1 | -1/+1 |
| | |||||
* | SLS: add custom params for catSLS etc. | Stefan Pöschel | 2016-12-23 | 1 | -25/+138 |
| | | | | | | | | Parses an optional ".sls_params" file for each slide and hence allows to set: * CategoryID/SlideID * CategoryTitle * ClickThroughURL * AlternativeLocationURL | ||||
* | SLS: output source filename/size also for raw files | Stefan Pöschel | 2016-12-23 | 1 | -0/+5 |
| | |||||
* | converted the crc into c++ with namespace. | Thomas Karlsson | 2016-11-14 | 4 | -276/+277 |
| | | | | | Since it conflicts with other crc implementation in imagemagic lib. This resulted in png images that would not open due to "crc error". | ||||
* | Apply new name | Stefan Pöschel | 2016-09-19 | 1 | -43/+43 |
| | |||||
* | Replace lib_crc by crc from ODR-DabMux | Matthias P. Braendli | 2016-09-11 | 3 | -3/+301 |
| | | | | | lib_crc had no licence associated with it. The licence situation of ODR-DabMux code is clearer and has the same licence as this project | ||||
* | MOT encoder: slight fixes/refactoring/optimization | Stefan Pöschel | 2016-08-20 | 1 | -54/+45 |
| | | | | | | Fixes - double sleepdelay when SLS/DLS used and no slides available - sending additional DLS before the first slide | ||||
* | MOT encoder: also try PNG when resizing | Stefan Pöschel | 2016-07-29 | 1 | -19/+39 |
| | | | | Fixes also a memleak when more than one JPG quality is tried | ||||
* | Improve Doxygen mainpage | Matthias P. Braendli | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | Add doxygen configuration and target | Matthias P. Braendli | 2016-07-08 | 2 | -36/+45 |
| | |||||
* | MOT encoder: fix broken Slideshow by last commit | Stefan Pöschel | 2016-06-27 | 1 | -1/+1 |
| | |||||
* | MOT encoder: enable/fix all/extra warnings | Stefan Pöschel | 2016-06-26 | 1 | -9/+12 |
| | |||||
* | DLS: use common toggle flag for both DL and DL Plus msgs/cmds | Stefan Pöschel | 2016-05-05 | 1 | -4/+1 |
| | |||||
* | DLS: add DL Plus support | Stefan Pöschel | 2016-04-24 | 1 | -21/+257 |
| | | | | | | - adds support for Dynamic Label Plus to mot-encoder through a new parameter block which prepends the DLS text within the regarding file - adds an option to add DL Plus data to the VLC input ICY text of dabplus-enc |