GST_DEBUG_OBJECT (rtpmp4gpay, "reset");
gst_adapter_clear (rtpmp4gpay->adapter);
- rtpmp4gpay->offset = 0;
}
static void
GST_BUFFER_PTS (outbuf) = rtpmp4gpay->first_timestamp;
GST_BUFFER_DURATION (outbuf) = rtpmp4gpay->first_duration;
- if (rtpmp4gpay->frame_len) {
- GST_BUFFER_OFFSET (outbuf) = rtpmp4gpay->offset;
- rtpmp4gpay->offset += rtpmp4gpay->frame_len;
- }
+ GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET_NONE;
if (rtpmp4gpay->discont) {
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DISCONT);