mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
remove legacy offset code - fixes #119550
Original commit message from CVS: remove legacy offset code - fixes #119550
This commit is contained in:
parent
7ea0633cd1
commit
1a661b3204
1 changed files with 0 additions and 2 deletions
|
@ -295,8 +295,6 @@ gst_bytestream_peek (GstByteStream *bs, GstBuffer **buf, guint32 len)
|
|||
GST_BUFFER_SIZE (retbuf) = len;
|
||||
GST_BUFFER_DATA (retbuf) = gst_bytestream_assemble (bs, len);
|
||||
GST_BUFFER_TIMESTAMP (retbuf) = bs->last_ts;
|
||||
if (GST_BUFFER_OFFSET (headbuf) != -1)
|
||||
GST_BUFFER_OFFSET (retbuf) = GST_BUFFER_OFFSET (headbuf) + (GST_BUFFER_SIZE (headbuf) - bs->headbufavail);
|
||||
}
|
||||
|
||||
*buf = retbuf;
|
||||
|
|
Loading…
Reference in a new issue