summaryrefslogtreecommitdiff
path: root/omx/gstomxaudioenc.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Port to Gst 0.11Olivier Crête2012-04-131-204/+63
|
* omxaudioenc: Add hack for encoder components that don't allow empty EOS buffersJonas Larsson2011-12-141-66/+106
|
* omxaudioenc: Don't forward EOS events immediately but let all other events ↵Sebastian Dröge2011-12-061-3/+3
| | | | | | be handled by the base class Previously this logic was inversed, which did not make any sense at all.
* omxaudioenc: Use correct timestamp, duration and filled length for the EOS ↵Sebastian Dröge2011-12-061-1/+14
| | | | buffers
* omxaudioenc: Use audio base classes from gst-plugins-base instead of having ↵Sebastian Dröge2011-11-251-81/+78
| | | | our own copies
* omxaudioenc: First set ports to flushing before waiting for the srcpad ↵Sebastian Dröge2011-11-181-3/+5
| | | | streaming thread to finish
* omxaudioenc: Signal the drain GCond even if downstream returned an errorSebastian Dröge2011-11-171-2/+4
|
* omxaudioenc: Shutdown component in PAUSED->READY and deallocate buffersSebastian Dröge2011-11-171-1/+18
|
* omxaudioenc: Make srcpad caps setting threadsafeSebastian Dröge2011-11-101-0/+4
|
* omxaudioenc: Make the srcpad task and the sinkpad streaming thread handling ↵Sebastian Dröge2011-11-101-0/+7
| | | | threadsafe
* omxaudioenc: Always flush the ports and make sure no processing is happening ↵Sebastian Dröge2011-11-101-10/+8
| | | | | | | in ::flush This fixes a race condition that happened when seeking very often in a short period of time.
* omxaudioenc: Improve EOS handlingSebastian Dröge2011-11-101-2/+7
| | | | | If downstream return UNEXPECTED we should still signal the drain cond because nothing will trigger this again later.
* omxaudioenc: Improve debugging of EOS and drainingSebastian Dröge2011-11-101-3/+14
|
* omxaudioenc: No need to signal the drain cond when going from READY to PAUSEDSebastian Dröge2011-11-101-3/+2
| | | | Also the component is not started in READY
* omxaudioenc: Release the audio encoder stream lock before acquiring an input ↵Sebastian Dröge2011-11-081-2/+16
| | | | | | | buffer Otherwise the srcpad task might block on this lock and no buffers ever become available again.
* omxaudioenc: Don't try to drain the component after EOSSebastian Dröge2011-11-081-6/+29
| | | | | | And don't send EOS twice in any case. This most likely will cause the component to not output it again and is not necessary anyway.
* omxaudioenc: Minor code refactoringSebastian Dröge2011-11-081-2/+3
|
* omxaudioenc: Only drain the component a single time and only after ↵Sebastian Dröge2011-11-041-1/+8
| | | | processing started
* omxaudioenc: Implement draining of the component and use itSebastian Dröge2011-11-011-3/+66
| | | | | This makes sure that all buffers are encoded and pushed downstream before flushing the ports and losing some buffers.
* omxaudioenc: Forward downstream flow returns to upstreamSebastian Dröge2011-11-011-1/+28
|
* omxaudioenc: Switch to Idle first and wait before switching to Loaded and ↵Sebastian Dröge2011-09-281-0/+4
| | | | | | deallocating buffers Allocating buffers before the Idle state is reached can lead to crashes.
* omxaudioenc: Add a check to prevent a zero-sized OMX bufferSebastian Dröge2011-09-231-0/+11
|
* omx: Wait until the Executing state is reached before calling ↵Sebastian Dröge2011-09-141-2/+5
| | | | | | | OMX_FillThisBuffer() This correctly works around the QCOM race condition that happens when calling FTB after setting the new state and before reaching it.
* omxaudioenc: Always require at least OMX_MIN_PCMPAYLOAD_MSEC per input bufferSebastian Dröge2011-08-171-0/+6
|
* omxaudioenc: Handle inbuf==NULL properly in ::handle_frame()Sebastian Dröge2011-08-171-0/+3
|
* omxaudioenc: Add vfunc to get the number of samples inside a bufferSebastian Dröge2011-08-171-1/+6
|
* omxaudioenc: Release baseaudioencoder stream lock while waiting for a buffer ↵Sebastian Dröge2011-08-171-1/+6
| | | | | | | | in ::handle_frame() This prevents deadlocks if no empty input buffers are available and releasing input buffers requires the loop function to handle some output buffers first.
* omxaudioenc: Remove hack that only applies to the video encoder classSebastian Dröge2011-08-161-4/+0
|
* omxaudioenc: Add initial version of audio encoder base classSebastian Dröge2011-08-161-0/+873