Mercurial > libavformat.hg
changeset 5781:2d93c764dc54 libavformat
Start continuity counter at 0 for streams
author | bcoudurier |
---|---|
date | Mon, 08 Mar 2010 20:59:00 +0000 |
parents | 0f6f08ff7047 |
children | 3b477aba769a |
files | mpegtsenc.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegtsenc.c Mon Mar 08 20:57:42 2010 +0000 +++ b/mpegtsenc.c Mon Mar 08 20:59:00 2010 +0000 @@ -421,6 +421,7 @@ 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)