From: Sebastian Dröge Date: Thu, 24 Feb 2011 15:22:53 +0000 (+0100) Subject: oggmux: Don't handle GstCollectData as GstObject, use the pad instead X-Git-Tag: 1.19.3~511^2~6555^2~1112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=461d9f2f2c3eaeb17233d4f0d0d6677bba7a5a80;p=platform%2Fupstream%2Fgstreamer.git oggmux: Don't handle GstCollectData as GstObject, use the pad instead --- 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; }