Commit 1a661b32 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

remove legacy offset code - fixes #119550

Original commit message from CVS:
remove legacy offset code - fixes #119550
parent 7ea0633c
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment