From 461d9f2f2c3eaeb17233d4f0d0d6677bba7a5a80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 24 Feb 2011 16:22:53 +0100 Subject: [PATCH] oggmux: Don't handle GstCollectData as GstObject, use the pad instead --- ext/ogg/gstoggmux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index c6ed67c..9016102 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -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; } -- 2.7.4