oggdemux: demote an expected error to debug
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 23 Jun 2016 09:22:35 +0000 (10:22 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 23 Jun 2016 09:24:55 +0000 (10:24 +0100)
Dropping a buffer because we have a seek pending is normal,
and will now happen when we trigger a seek while going through
the packets in a page. So this should not be an error.

ext/ogg/gstoggdemux.c

index cf65573..f84d0e0 100644 (file)
@@ -4563,7 +4563,7 @@ gst_ogg_demux_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
   drop = (ogg->seek_event_drop_till > 0);
   GST_PUSH_UNLOCK (ogg);
   if (drop) {
-    GST_ERROR_OBJECT (ogg, "Dropping buffer because we have a pending seek");
+    GST_DEBUG_OBJECT (ogg, "Dropping buffer because we have a pending seek");
     gst_buffer_unref (buffer);
     return GST_FLOW_OK;
   }