libs/gst/base/gstbasesrc.c: Make sure size is always initialized. Fixes #364388.

Original commit message from CVS:
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_start), (gst_base_src_activate_push):
Make sure size is always initialized. Fixes #364388.
This commit is contained in:
Sergey Scobich 2006-10-23 14:51:30 +00:00 committed by Wim Taymans
parent dc159be1b2
commit 5861382c2f
3 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2006-10-23 Wim Taymans <wim@fluendo.com>
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_start), (gst_base_src_activate_push):
Make sure size is always initialized. Fixes #364388.
2006-10-20 Stefan Kost <ensonic@users.sf.net>
* docs/random/ensonic/distributed.txt:

2
common

@ -1 +1 @@
Subproject commit efcacf2625da231fbee99b68e0f5db6816cf6fad
Subproject commit ee0bb43e2b66781d04078e2210404da48f6c68f0

View file

@ -1781,6 +1781,8 @@ gst_base_src_start (GstBaseSrc * basesrc)
/* only update the size when operating in bytes, subclass is supposed
* to set duration in the start method for other formats */
gst_segment_set_duration (&basesrc->segment, GST_FORMAT_BYTES, size);
} else {
size = -1;
}
GST_DEBUG_OBJECT (basesrc,