diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-03-08 20:59:00 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-03-08 20:59:00 +0000 |
commit | d73a458f279f1918a08d06b0dd43a798a71b2f74 (patch) | |
tree | 734dd2b1422962210270cdb60b00237b368eca8e /libavformat/mpegtsenc.c | |
parent | 9169174fd6101490f391bc5879ded1efd7880db6 (diff) | |
download | ffmpeg-d73a458f279f1918a08d06b0dd43a798a71b2f74.tar.gz |
Start continuity counter at 0 for streams
Originally committed as revision 22344 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r-- | libavformat/mpegtsenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 6ad58dbab0..a60c80822f 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -421,6 +421,7 @@ static int mpegts_write_header(AVFormatContext *s) 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) |