From 06f8e356a6829e067e81e8c2bf7bac334304a44b Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Tue, 6 Sep 2011 13:18:40 +0200 Subject: [PATCH] rtpmp4gdepay: improve bogus interleaved index compensating Patch by Fixes #654585. --- gst/rtp/gstrtpmp4gdepay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/rtp/gstrtpmp4gdepay.c b/gst/rtp/gstrtpmp4gdepay.c index 02ac8d681a..f16899f233 100644 --- a/gst/rtp/gstrtpmp4gdepay.c +++ b/gst/rtp/gstrtpmp4gdepay.c @@ -611,6 +611,8 @@ gst_rtp_mp4g_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) rtpmp4gdepay->next_AU_index = GST_BUFFER_OFFSET (outbuf); gst_rtp_mp4g_depay_flush_queue (rtpmp4gdepay); } + /* rebase next_AU_index to current rtp's first AU_index */ + rtpmp4gdepay->next_AU_index = AU_index; } rtpmp4gdepay->prev_rtptime = rtptime; rtpmp4gdepay->prev_AU_num = num_AU_headers;