[MOVED FROM GST-P-FARSIGHT] Reset pad private on flush stop

20080514231752-3e2dc-113fec2faafc2dc11c1eaa818cb488b71e601f9b.gz
This commit is contained in:
Olivier Crete 2008-05-14 23:17:52 +00:00 committed by Edward Hervey
parent df72e5ca58
commit c653d0ac38

View file

@ -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;