omxvideodec: If negotiation fails this could also mean that the component can't do...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 20 Dec 2012 10:42:17 +0000 (11:42 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 20 Dec 2012 10:42:17 +0000 (11:42 +0100)
omx/gstomxvideodec.c

index 65fcdbc..d7fde30 100644 (file)
@@ -1033,8 +1033,9 @@ gst_omx_video_dec_set_format (GstVideoDecoder * decoder,
   gst_buffer_replace (&self->codec_data, state->codec_data);
   self->input_state = gst_video_codec_state_ref (state);
 
-  if (!gst_omx_video_dec_negotiate (self))
-    return FALSE;
+  if (!gst_omx_video_dec_negotiate (self)) {
+    GST_LOG_OBJECT (self, "Negotiation failed, will get output format later");
+  }
 
   if (needs_disable) {
     if (gst_omx_port_set_enabled (self->in_port, TRUE) != OMX_ErrorNone)