[FFmpeg-devel] [PATCH] rtpdec: Don't set RTP timestamps if they already are set by the depacketizer
Martin Storsjö
martin
Thu Jan 6 12:33:22 CET 2011
On Thu, 6 Jan 2011, Luca Barbato wrote:
> On 01/05/2011 10:36 PM, Martin Storsjo wrote:
> > For MS-RTSP, we don't always get RTCP packets (never?), so the earlier
> > timestamping code never wrote anything into pkt->pts. The rtpdec_asf
> > depacketizer just sets the dts of the packet, so if the generic RTP
> > timestamping is used, too, we get inconsistent timestamps.
> >
> > Therefore, skip the generic RTP timestamp algorithm if the depacketizer
> > already has set something.
> >
> > This fixes "Invalid timestamps" warnings, present since SVN rev 26187.
>
> Looks Ok
Applied
// Martin
More information about the ffmpeg-devel
mailing list