omxvideodec: OMX_ErrorNoMore is no error and just means we ended iteration
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 20 Dec 2012 11:23:49 +0000 (12:23 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 20 Dec 2012 11:23:49 +0000 (12:23 +0100)
omx/gstomxvideodec.c

index 2af42a4..ec9b578 100644 (file)
@@ -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: