oggmux: Don't handle GstCollectData as GstObject, use the pad instead
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 24 Feb 2011 15:22:53 +0000 (16:22 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 24 Feb 2011 15:22:53 +0000 (16:22 +0100)
ext/ogg/gstoggmux.c

index c6ed67c..9016102 100644 (file)
@@ -1068,10 +1068,10 @@ gst_ogg_mux_send_headers (GstOggMux * mux)
       gst_buffer_ref (buf);
     } else {
       /* fixme -- should be caught in the previous list traversal. */
-      GST_OBJECT_LOCK (pad);
+      GST_OBJECT_LOCK (thepad);
       g_critical ("No headers or buffers on pad %s:%s",
-          GST_DEBUG_PAD_NAME (pad));
-      GST_OBJECT_UNLOCK (pad);
+          GST_DEBUG_PAD_NAME (thepad));
+      GST_OBJECT_UNLOCK (thepad);
       continue;
     }