Reset cc_valid for each elementary stream upon stream start

This commit is contained in:
Andreas Öman 2010-03-11 21:54:15 +00:00
parent 8121d950be
commit 2284af1395

View file

@ -81,6 +81,8 @@ stream_init(th_stream_t *st)
AVCodec *c;
enum CodecID id;
st->st_cc_valid = 0;
st->st_startcond = 0xffffffff;
st->st_curdts = AV_NOPTS_VALUE;
st->st_curpts = AV_NOPTS_VALUE;