Commit 3469171e authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/playback/gstplaybasebin.c: Improve buffering a bit by avoiding a deadlock...

gst/playback/gstplaybasebin.c: Improve buffering a bit by avoiding a deadlock because we cannot assume the underrun i...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gen_preroll_element):
Improve buffering a bit by avoiding a deadlock because we cannot assume
the underrun is always called.
parent 038488fa
2006-09-23 Wim Taymans <wim@fluendo.com>
* gst/playback/gstplaybasebin.c: (gen_preroll_element):
Improve buffering a bit by avoiding a deadlock because we cannot assume
the underrun is always called.
2006-09-23 Wim Taymans <wim@fluendo.com>
 
Patch by: Young-Ho Cha <ganadist at chollian dot net>
......@@ -766,6 +766,8 @@ gen_preroll_element (GstPlayBaseBin * play_base_bin,
* fire an underrun. */
g_signal_connect (G_OBJECT (preroll), "underrun",
G_CALLBACK (queue_out_of_data), play_base_bin);
/* configure threshold and callbacks */
queue_out_of_data (preroll, play_base_bin);
}
preroll_pad = gst_element_get_pad (preroll, "src");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment