From 4ef40839a23f9cfcbae43ef46f111d8a0bc80ba1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 20 Dec 2012 12:23:49 +0100 Subject: [PATCH] omxvideodec: OMX_ErrorNoMore is no error and just means we ended iteration --- omx/gstomxvideodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 2af42a4..ec9b578 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -895,7 +895,7 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self) if (old_index == param.nIndex) break; - if (err == OMX_ErrorNone) { + if (err == OMX_ErrorNone || err == OMX_ErrorNoMore) { switch (param.eColorFormat) { case OMX_COLOR_FormatYUV420Planar: case OMX_COLOR_FormatYUV420PackedPlanar: -- 2.7.4