summaryrefslogtreecommitdiffstats
path: root/gst/liveadder
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-05-14 23:17:52 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:05 +0100
commitc653d0ac3839d36156d64e058ca9011e82b6957a (patch)
treeed077dd680a2d2eaece565b08e6270e32bc5cb1a /gst/liveadder
parentdf72e5ca586d3aa472cb7355f007bc32c517710e (diff)
downloadgst-plugins-bad-c653d0ac3839d36156d64e058ca9011e82b6957a.tar.gz
gst-plugins-bad-c653d0ac3839d36156d64e058ca9011e82b6957a.tar.bz2
gst-plugins-bad-c653d0ac3839d36156d64e058ca9011e82b6957a.zip
[MOVED FROM GST-P-FARSIGHT] Reset pad private on flush stop
20080514231752-3e2dc-113fec2faafc2dc11c1eaa818cb488b71e601f9b.gz
Diffstat (limited to 'gst/liveadder')
-rw-r--r--gst/liveadder/liveadder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c
index 8a03a6f1..d2345021 100644
--- a/gst/liveadder/liveadder.c
+++ b/gst/liveadder/liveadder.c
@@ -543,6 +543,7 @@ gst_live_adder_sink_event (GstPad * pad, GstEvent * event)
ret = gst_pad_push_event (adder->srcpad, event);
ret = gst_live_adder_src_activate_push (adder->srcpad, TRUE);
GST_OBJECT_LOCK (adder);
+ reset_pad_private (pad);
adder->segment_pending = TRUE;
GST_OBJECT_UNLOCK (adder);
break;