diff options
Diffstat (limited to 'omx/gstomxh264dec.c')
-rw-r--r-- | omx/gstomxh264dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxh264dec.c b/omx/gstomxh264dec.c index b9e560f..b760d20 100644 --- a/omx/gstomxh264dec.c +++ b/omx/gstomxh264dec.c @@ -93,7 +93,7 @@ gst_omx_h264_dec_set_format (GstOMXVideoDec * dec, GstOMXPort * port, gst_omx_port_get_port_definition (port, &port_def); port_def.format.video.eCompressionFormat = OMX_VIDEO_CodingAVC; - ret = gst_omx_port_update_port_definition (port, &port_def); + ret = gst_omx_port_update_port_definition (port, &port_def) == OMX_ErrorNone; return ret; } |