mpeg2dec: Don't error out when there is no associated buffer
authorJan Schmidt <thaytan@noraisin.net>
Sun, 30 Sep 2012 14:01:09 +0000 (00:01 +1000)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 1 Oct 2012 00:43:26 +0000 (10:43 +1000)
In 0.10, having mpeg2dec occasionally tell us to output a frame that
was never decoded was just ignored, so do the same in 1.0

Fixes: #685107

ext/mpeg2dec/gstmpeg2dec.c

index 42b7e62..71ca4b0 100644 (file)
@@ -933,10 +933,9 @@ beach:
 
 no_frame:
   {
-    GST_WARNING ("display buffer does not have a valid frame");
-    return GST_FLOW_ERROR;
+    GST_DEBUG ("display buffer does not have a valid frame");
+    return GST_FLOW_OK;
   }
-
 }
 
 static GstFlowReturn