mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
libs/gst/base/gstbasesink.c: When operating in pull mode update the offset so that we read sequentially.
Original commit message from CVS: * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object), (gst_base_sink_loop), (gst_base_sink_get_position): When operating in pull mode update the offset so that we read sequentially.
This commit is contained in:
parent
09f47d182f
commit
931ef328d8
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-07-05 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
|
||||
(gst_base_sink_loop), (gst_base_sink_get_position):
|
||||
When operating in pull mode update the offset so that we
|
||||
read sequentially.
|
||||
|
||||
2006-07-05 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstregistryxml.c: (read_string):
|
||||
|
|
|
@ -1980,6 +1980,8 @@ gst_base_sink_loop (GstPad * pad)
|
|||
if (G_UNLIKELY (buf == NULL))
|
||||
goto no_buffer;
|
||||
|
||||
basesink->offset += GST_BUFFER_SIZE (buf);
|
||||
|
||||
GST_PAD_PREROLL_LOCK (pad);
|
||||
result = gst_base_sink_chain_unlocked (basesink, pad, buf);
|
||||
GST_PAD_PREROLL_UNLOCK (pad);
|
||||
|
|
Loading…
Reference in a new issue