mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
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:
parent
038488faa4
commit
3469171e16
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue