diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-02-28 15:48:53 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-02-28 15:49:14 +0100 |
commit | aeec430261d7c58bf1433360dc7a1ac12760934a (patch) | |
tree | f34f9d39380539a1a70c79ea12a33b198a15d77e /omx/gstomxh264dec.c | |
parent | dc0385d7629f4358388512cc4e6f0a6fce0e8386 (diff) |
omx: Return the OMX_ERRORTYPE from gst_omx_port_update_port_definition
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; } |