GNOME Bugzilla – Bug 698109
Disable output port before transition to idle state
Last modified: 2014-07-23 08:27:10 UTC
Created attachment 241620 [details] Error log with --gst-debug=3 Not able to play h264 video with gst-omx h264 element( omxh264dec). It results in negotiation error. gst-launch output with gst-debug=3 is attached.
Created attachment 241621 [details] [review] proposed patch
On further debugging, it was found that component is being transitioned to idle state and to complete that transition buffers for all enabled ports should be allocated/provided. But buffers are only being allocated for input port so component is not able to complete the transition. In between request to disable output port is being sent which is resulting in timeout. proposed patch is attached.
On which hardware with which OpenMAX IL implementation are you testing this? The patch looks fine though, similar changes are probably needed in the audio/video encoders too.
Could you attach a patch in git format-patch style? And if you want, also the same changes for the encoders, otherwise I'll add them myself there.
Created attachment 241625 [details] [review] proposed patch
I am testing this on Nvidia implementation of OpenMax IL.
Thanks, pushed: commit 960590f92ff6535565226dfab6fd52082dd6ee2c Author: jitendra <jvarshney20@gmail.com> Date: Tue Apr 16 14:50:49 2013 +0530 omx: Disable output port before transition to idle state https://bugzilla.gnome.org/show_bug.cgi?id=698109 If you're interested we could also provide a configuration file for the NVIDIA OpenMAX IL, together with a --with-omx-target=nvidia switch for configure.
Hello "jvarshney20" , I am trying to get gst-omx working on a seco t30 with a Tegra 3 CPU. I am very interested in your "configuration file for the NVIDIA OpenMAX IL, together with a --with-omx-target=nvidia switch for configure" :-) Could you post it on the gst-openmax mailing list? - Erwin