From 07e0d674a0d75166de68b4e59d9236bb93fcbbb5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 20 Dec 2012 11:42:17 +0100 Subject: [PATCH] omxvideodec: If negotiation fails this could also mean that the component can't do it at this point yet --- omx/gstomxvideodec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 65fcdbc..d7fde30 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -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) -- 2.7.4