summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-01omxaacdec: Do not accept unknown layoutsHEADmasterThiago Santos1-2/+4
It was defaulting to RAW when an unknown layout was received but the caps template would actually forbid that on the caps query or accept-caps anyway.
2015-09-01omxaudiodec: use default pad accept-caps handlingThiago Santos1-0/+3
Instead of the audiodecoder one. The OMX audioo decoders have their valid input in the template pad, so just check against that to avoid doing a query downstream.
2015-08-28omxvideodec: use default pad accept-caps handlingThiago Santos1-0/+3
Instead of the videodecoder one. The OMX video decoders have their valid input in the template pad, so just check against that to avoid doing a query downstream.
2015-08-27omxvideoenc: Add keyframe support for the Rpi, using ↵Graham Leggett1-0/+13
OMX_IndexConfigBrcmVideoRequestIFrame https://bugzilla.gnome.org/show_bug.cgi?id=753085
2015-08-20gst-omx: Fix memory leaks when context parse failsVineeth TM1-0/+2
When g_option_context_parse fails, context and error variables are not getting free'd which results in memory leaks. Free'ing the same. And replacing g_error_free with g_clear_error, which checks if the error being passed is not NULL and sets the variable to NULL on free'ing. https://bugzilla.gnome.org/show_bug.cgi?id=753865
2015-08-16omxh264dec: implement is_format_changePhilippe Normand1-0/+25
The omxvideodecoder class only checks some of the caps parameters but if other fields change such as h264 profile and/or level it wouldn't trigger a reconfiguration. https://bugzilla.gnome.org/show_bug.cgi?id=752376
2015-07-06omxvideodec: unref allocator after getting it from allocation queryAurélien Zanelli1-8/+12
Otherwise a reference will be leaked for each allocator. It only happens when target platform is Raspberry Pi and when we have GL support. https://bugzilla.gnome.org/show_bug.cgi?id=751867
2015-07-03Automatic update of common submoduleStefan Sauer1-0/+0
From f74b2df to 9aed1d7
2015-06-16Automatic update of common submoduleNicolas Dufresne1-0/+0
From 6015d26 to f74b2df
2015-06-09Automatic update of common submoduleEdward Hervey1-0/+0
From d9a3353 to 6015d26
2015-06-08Automatic update of common submoduleStefan Sauer1-0/+0
From d37af32 to d9a3353
2015-06-07Automatic update of common submoduleStefan Sauer1-0/+0
From 21ba2e5 to d37af32
2015-06-07Automatic update of common submoduleStefan Sauer1-0/+0
From c408583 to 21ba2e5
2015-06-07Automatic update of common submoduleStefan Sauer2-9/+20
From c8fb372 to c408583
2015-05-19omxaudiodec: Add an output adapter for chunking the output into codec framesSebastian Dröge2-21/+65
Otherwise the base class will be confused. See https://bugzilla.gnome.org/show_bug.cgi?id=685730
2015-04-26Remove obsolete Android build cruftTim-Philipp Müller2-45/+0
This is not needed any longer.
2015-04-22Remove INSTALL fileSebastian Dröge1-370/+0
autotools automatically generate this, and when using different versions for autogen.sh there will always be changes to a file tracked by git.
2015-04-08Add m4 directory so aclocal doesn't complain in autogen.shTim-Philipp Müller4-2/+8
Might come in handy, and these warnings seem to be fatal in some environments. You may need to git clean -x -d -f your tree before git pulling/merging.
2015-04-07Update autogen.sh to latest versionTim-Philipp Müller2-46/+51
2015-04-03Automatic update of common submoduleTim-Philipp Müller1-0/+0
From bc76a8b to c8fb372
2015-03-06omxaudiodec: add comment explaining duplicate code pathLuis de Bethencourt1-1/+1
2015-03-06Revert "omxaudiodec: remove duplicate code path"Luis de Bethencourt1-1/+3
This reverts commit a8d26ff27a8b43f589424a59294f9057641b2a46.
2015-03-06omx: handle both errors in the two steps of update_port_definitionLuis de Bethencourt1-5/+8
Also consider potential errors in the _get_parameter() in the return of the update_port_definition function. CID #1287052
2015-03-06omxaudioenc: impossible if statementLuis de Bethencourt1-3/+0
ret is set to GST_STATE_CHANGE_SUCCESS and never touched, so it is impossible for it to be anything else at the if check. Remove the if check. CID #1287053
2015-03-06omxaudiodec: impossible if statementLuis de Bethencourt1-3/+0
ret is set to GST_STATE_CHANGE_SUCCESS and never touched, so it is impossible for it to be anything else at the if check. Remove it. CID #1287054
2015-03-06omxaudiodec: remove duplicate code pathLuis de Bethencourt1-3/+1
2015-03-04omx: call handle_messages() only once in acquire_buffer() to avoid potential ↵George Kiagiadakis1-2/+0
deadlock There is one rare case where calling handle_messages() more than once can cause a deadlock in the video decoder element: - sink pad thread starts the src pad task (gst_omx_video_dec_loop()) - _video_dec_loop() calls gst_omx_port_acquire_buffer() on dec_out_port - blocks in gst_omx_component_wait_message() releasing comp->lock and comp->messages_lock (initially, there are no buffers configured on that port, so it waits for OMX_EventPortSettingsChanged) - the sink pad thread pushes a buffer to the decoder with gst_omx_port_release_buffer() - _release_buffer() grabs comp->lock and sends the buffer to OMX, which consumes it immediately - EmptyBufferDone gets called at this point, which signals _wait_message() to unblock - the message from EmptyBufferDone is processed in gst_omx_component_handle_messages() called from gst_omx_port_release_buffer() - gst_omx_port_release_buffer releases comp->lock - the src pad thread now gets to run, grabbing comp->lock while it exits from _wait_message() - _acquire_buffer() calls the _handle_messages() on the next line after _wait_message(), which does nothing (no pending messages) - then it goes to "retry:" and calls _handle_messages() again, which also does nothing (still no pending messages) - scheduler switches to a videocore thread that calls EventHandler, informing us about the OMX_EventPortSettingsChanged event that just arrived - EventHandler graps comp->messages_lock, but not comp->lock, so it can run in parallel at this point just fine. - scheduler switches back to the src pad thread (which is in the middle of _acquire_buffer()) - the next _handle_messages() which is right before if (g_queue_is_empty (&port->pending_buffers)) processes the OMX_EventPortSettingsChanged - the buffer queue is still empty, so that thread blocks again in _wait_message() - the sink pad thread tries to acquire the next input port buffer - _acquire_buffer() also blocks this thread in: if (comp->pending_reconfigure_outports) { ... _wait_message() ... } - DEADLOCK. gstreamer is waiting for omx to do something, omx waits for gstreamer to do something. By removing those extra _handle_messages() calls, we can ensure that all the checks of _acquire_buffer() will re-run. In the above case, after the scheduler switches back to the middle of _acquire_buffer(), the code will enter _wait_message(), which will see that there are pending messages and will return immediately, going back to "retry:" and re-doing all the checks properly. https://bugzilla.gnome.org/show_bug.cgi?id=741854
2015-02-26omx: cleanup code a bit to remove else statementWonchul Lee1-8/+4
https://bugzilla.gnome.org/show_bug.cgi?id=745191
2015-01-12Automatic update of common submoduleStefan Sauer1-0/+0
From f2c6b95 to bc76a8b
2014-12-18Automatic update of common submoduleSebastian Dröge1-0/+0
From ef1ffdc to f2c6b95
2014-11-27Automatic update of common submoduleEdward Hervey1-0/+0
From 7bb2bce to ef1ffdc
2014-11-13omx: Add omxamrdecJun Ji4-1/+286
https://bugzilla.gnome.org/show_bug.cgi?id=739333
2014-10-27Automatic update of common submoduleSebastian Dröge1-0/+0
From 84d06cd to 7bb2bce
2014-10-21Automatic update of common submoduleTim-Philipp Müller1-0/+0
From a8c8939 to 84d06cd
2014-10-21Automatic update of common submoduleStefan Sauer1-0/+0
From 1f5d3c3 to a8c8939
2014-09-30omxaudiodec: Clean up code a bit to get rid of useless NULL checksSebastian Dröge1-24/+13
2014-09-30omxaudiodec: Unmap input buffers after usagejunji1-0/+8
https://bugzilla.gnome.org/show_bug.cgi?id=736314
2014-09-01omxvideoenc: Setup aspect ratio on RPiMichal Lazo1-0/+43
Needs firmware from yesterday or newer to work with all possible aspect ratios. Before that it only supported a fixed list. https://bugzilla.gnome.org/show_bug.cgi?id=732533
2014-08-28omxaudioenc: Implement the hack flag GST_OMX_HACK_NO_COMPONENT_RECONFIGURESebastian Dröge1-20/+31
2014-08-28omxaudioenc: Use the base class' open/close vfuncs instead of calling them ↵Sebastian Dröge1-6/+9
ourselves
2014-08-28omxvideoenc: Implement the hack flag GST_OMX_HACK_NO_COMPONENT_RECONFIGUREPeng Liu2-21/+32
Fix a video encoder stall problem on RPi when changing the aspect ratio. https://bugzilla.gnome.org/show_bug.cgi?id=732533
2014-08-14omx: Let base classes handle EOSSebastian Dröge8-177/+22
https://bugzilla.gnome.org//show_bug.cgi?id=734774
2014-08-14omxaudiodec: Fix flushing logic and make it more similar to the video decoderSebastian Dröge1-15/+42
2014-07-23Release 1.2.0Sebastian Dröge6-30/+1169
2014-07-22config: Update ranks to PRIMARY+1 to have higher preference than avdec_*Sebastian Dröge2-13/+13
See https://bugzilla.gnome.org/show_bug.cgi?id=732161
2014-07-20omxaudiosink: Set port to not flushing in prepare() and keep it at flushing ↵Sebastian Dröge1-9/+9
in unprepare() https://bugzilla.gnome.org/show_bug.cgi?id=733168
2014-07-13omxaudiodec: Implement setting of fallback channel positionsSebastian Dröge4-0/+110
2014-07-13omx: Add AAC audio decoderSebastian Dröge5-2/+295
2014-07-02omxaudiodec: Get PCM parameters from the out port, not the in portSebastian Dröge1-1/+1
2014-07-02omxaudiodec: Implement hack for not disabling the output port after ↵Sebastian Dröge1-11/+36
set_format until the output format is known Needed on some OMX implementations, e.g. the one from Atmel. It does not send the settings-changed event on the output port if it is disabled.