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.
This commit is contained in:
Wim Taymans 2006-09-23 08:53:30 +00:00
parent 038488faa4
commit 3469171e16
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
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>

View file

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