[Ffmpeg-devel] [PATCH] fix ts-wraparound for mpegts

Måns Rullgård mru
Fri May 6 18:15:07 CEST 2005


Wolfram Gloger <wmglo at dent.med.uni-muenchen.de> writes:

> Hmm, at least for DVB the following seems urgently needed..

That's correct for all MPEG TS, not just DVB.  Applied.

> diff -ur ffmpeg/libavformat/mpegts.c ffmpeg-wg/libavformat/mpegts.c
> --- ffmpeg/libavformat/mpegts.c	Sun May  1 18:53:52 2005
> +++ ffmpeg-wg/libavformat/mpegts.c	Fri May  6 17:48:48 2005
> @@ -768,7 +768,7 @@
>                          }
>                          st = av_new_stream(pes->stream, pes->pid);
>                          if (st) {
> -                            av_set_pts_info(st, 60, 1, 90000);
> +                            av_set_pts_info(st, 33, 1, 90000);
>                              st->priv_data = pes;
>                              st->codec.codec_type = codec_type;
>                              st->codec.codec_id = codec_id;
>

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list