[MOVED FROM GST-P-FARSIGHT] Pad push event after the lock has been unlocked

20080501200940-3e2dc-ae5fec5f79f32777bba649d0d700d49f7bedff40.gz
This commit is contained in:
Olivier Crete 2008-05-01 20:09:40 +00:00 committed by Edward Hervey
parent 312b4156c1
commit dbeab8d0b8

View file

@ -1217,8 +1217,8 @@ gst_live_adder_loop (gpointer data)
GST_DEBUG_OBJECT (adder, "We are EOS, pushing EOS downstream"); GST_DEBUG_OBJECT (adder, "We are EOS, pushing EOS downstream");
adder->srcresult = GST_FLOW_UNEXPECTED; adder->srcresult = GST_FLOW_UNEXPECTED;
gst_pad_pause_task (adder->srcpad); gst_pad_pause_task (adder->srcpad);
gst_pad_push_event (adder->srcpad, gst_event_new_eos ());
GST_OBJECT_UNLOCK (adder); GST_OBJECT_UNLOCK (adder);
gst_pad_push_event (adder->srcpad, gst_event_new_eos ());
return; return;
} }
} }