summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-05-01 20:09:40 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:05 +0100
commitdbeab8d0b810b31c09e961f7c4bb4fa09ec49181 (patch)
tree52c96722205d69fa6a05b8959204d20317e59715 /gst
parent312b4156c1248db554bbe7b3be9311f458059d62 (diff)
downloadgst-plugins-bad-dbeab8d0b810b31c09e961f7c4bb4fa09ec49181.tar.gz
gst-plugins-bad-dbeab8d0b810b31c09e961f7c4bb4fa09ec49181.tar.bz2
gst-plugins-bad-dbeab8d0b810b31c09e961f7c4bb4fa09ec49181.zip
[MOVED FROM GST-P-FARSIGHT] Pad push event after the lock has been unlocked
20080501200940-3e2dc-ae5fec5f79f32777bba649d0d700d49f7bedff40.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/liveadder/liveadder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c
index 412cb605..441aaae5 100644
--- a/gst/liveadder/liveadder.c
+++ b/gst/liveadder/liveadder.c
@@ -1217,8 +1217,8 @@ gst_live_adder_loop (gpointer data)
GST_DEBUG_OBJECT (adder, "We are EOS, pushing EOS downstream");
adder->srcresult = GST_FLOW_UNEXPECTED;
gst_pad_pause_task (adder->srcpad);
- gst_pad_push_event (adder->srcpad, gst_event_new_eos ());
GST_OBJECT_UNLOCK (adder);
+ gst_pad_push_event (adder->srcpad, gst_event_new_eos ());
return;
}
}