From 5cceb99ad2e4ab1f5e867e7f963635ac659c7f7a Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 25 Apr 2008 20:39:38 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] removed unused user_data and commented line 20080425203938-4f0f6-787778475b646461da40f3e0000a10bc96e142bc.gz --- gst/liveadder/liveadder.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gst/liveadder') diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index cc69f90c..e0dfd03b 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -1277,7 +1277,6 @@ static void reset_pad_private (gpointer data, gpointer user_data) { GstPad *pad = data; - //GstLiveAdder *adder = user_data; GstLiveAdderPadPrivate *padprivate; padprivate = gst_pad_get_element_private (pad); @@ -1306,7 +1305,7 @@ gst_live_adder_change_state (GstElement * element, GstStateChange transition) adder->segment_pending = TRUE; adder->peer_latency = 0; adder->next_timestamp = GST_CLOCK_TIME_NONE; - g_list_foreach (adder->sinkpads, reset_pad_private, adder); + g_list_foreach (adder->sinkpads, reset_pad_private, NULL); GST_OBJECT_UNLOCK (adder); break; } -- cgit v1.2.1