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

Wolfram Gloger wmglo
Fri May 6 18:07:47 CEST 2005


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

Regards,
Wolfram.

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;





More information about the ffmpeg-devel mailing list