[FFmpeg-cvslog] r22344 - in trunk: libavformat/mpegtsenc.c tests/ref/lavf/ts

bcoudurier subversion
Mon Mar 8 21:59:00 CET 2010


Author: bcoudurier
Date: Mon Mar  8 21:59:00 2010
New Revision: 22344

Log:
Start continuity counter at 0 for streams

Modified:
   trunk/libavformat/mpegtsenc.c
   trunk/tests/ref/lavf/ts

Modified: trunk/libavformat/mpegtsenc.c
==============================================================================
--- trunk/libavformat/mpegtsenc.c	Mon Mar  8 21:57:42 2010	(r22343)
+++ trunk/libavformat/mpegtsenc.c	Mon Mar  8 21:59:00 2010	(r22344)
@@ -421,6 +421,7 @@ static int mpegts_write_header(AVFormatC
         ts_st->payload_pts = AV_NOPTS_VALUE;
         ts_st->payload_dts = AV_NOPTS_VALUE;
         ts_st->first_pts_check = 1;
+        ts_st->cc = 15;
         /* update PCR pid by using the first video stream */
         if (st->codec->codec_type == CODEC_TYPE_VIDEO &&
             service->pcr_pid == 0x1fff)

Modified: trunk/tests/ref/lavf/ts
==============================================================================
--- trunk/tests/ref/lavf/ts	Mon Mar  8 21:57:42 2010	(r22343)
+++ trunk/tests/ref/lavf/ts	Mon Mar  8 21:59:00 2010	(r22344)
@@ -1,3 +1,3 @@
-1e39846ad39b799686df372fcf08d8b0 *./tests/data/lavf/lavf.ts
+cb7713f07c94ae0fe68a030cc5f13398 *./tests/data/lavf/lavf.ts
 428452 ./tests/data/lavf/lavf.ts
 ./tests/data/lavf/lavf.ts CRC=0x133216c1



More information about the ffmpeg-cvslog mailing list