oggdemux: don't use GST_ERROR() for debug messages
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 19 Mar 2015 13:34:07 +0000 (14:34 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 1 Apr 2015 15:06:42 +0000 (16:06 +0100)
Fix https://bugzilla.gnome.org/show_bug.cgi?id=746457

ext/ogg/gstoggdemux.c

index 094a7a8..77fd7de 100644 (file)
@@ -4816,7 +4816,7 @@ gst_ogg_demux_loop_push (GstOggDemux * ogg)
     if (!event)
       continue;
 
-    GST_ERROR ("Pushing event %" GST_PTR_FORMAT, event);
+    GST_DEBUG_OBJECT (ogg->sinkpad, "Pushing event %" GST_PTR_FORMAT, event);
     if (!gst_pad_push_event (ogg->sinkpad, event)) {
       GST_WARNING_OBJECT (ogg, "Failed to push event");
       GST_PUSH_LOCK (ogg);
@@ -4826,7 +4826,7 @@ gst_ogg_demux_loop_push (GstOggDemux * ogg)
       }
       GST_PUSH_UNLOCK (ogg);
     } else {
-      GST_ERROR ("Pushed event ok");
+      GST_DEBUG_OBJECT (ogg->sinkpad, "Pushed event ok");
     }
   }
   gst_object_unref (ogg);