diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2008-04-25 20:39:38 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-17 19:29:04 +0100 |
commit | 5cceb99ad2e4ab1f5e867e7f963635ac659c7f7a (patch) | |
tree | 526f15859fcc0019250a5d8648094350ebbac3ef /gst/liveadder | |
parent | 39d4e1ea6098474551b2194268920abd88d564a6 (diff) | |
download | gst-plugins-bad-5cceb99ad2e4ab1f5e867e7f963635ac659c7f7a.tar.gz gst-plugins-bad-5cceb99ad2e4ab1f5e867e7f963635ac659c7f7a.tar.bz2 gst-plugins-bad-5cceb99ad2e4ab1f5e867e7f963635ac659c7f7a.zip |
[MOVED FROM GST-P-FARSIGHT] removed unused user_data and commented line
20080425203938-4f0f6-787778475b646461da40f3e0000a10bc96e142bc.gz
Diffstat (limited to 'gst/liveadder')
-rw-r--r-- | gst/liveadder/liveadder.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |