[Bug 795352] omxvideoenc/dec: fix handling of component enabling failing
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Apr 18 11:53:57 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795352
--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 371083:
--> (https://bugzilla.gnome.org/review?bug=795352&attachment=371083)
::: omx/gstomxvideodec.c
@@ +2735,3 @@
+ if (!gst_omx_video_dec_enable (self, frame->input_buffer)) {
+ /* Report the OMX error, if any */
+ if (gst_omx_component_get_last_error (self->dec) != OMX_ErrorNone)
I would simply goto enable_error, and check for this in there.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list