From: Ilkka Ollakka Date: Thu, 8 Jul 2010 13:09:56 +0000 (+0300) Subject: Revert "ts.c: check that pts is valid for H264" X-Git-Tag: 1.2.0-pre1~5910 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=16196a40d6adbf672fcc4804d4b28710e5c2ba9f;p=vlc Revert "ts.c: check that pts is valid for H264" This reverts commit cf45f5073677d2e7bfe57066c426340703198107. --- diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c index abe62c4fa8..eb0ce1243a 100644 --- a/modules/mux/mpeg/ts.c +++ b/modules/mux/mpeg/ts.c @@ -1604,8 +1604,7 @@ static int Mux( sout_mux_t *p_mux ) } /* Convert to pes */ - if( (p_stream->i_stream_id == 0xa0 || - p_stream->i_stream_type == 0x1b ) && /*Workaroud for bug #3306 */ + if( p_stream->i_stream_id == 0xa0 && p_data->i_pts <= 0 ) { /* XXX yes I know, it's awful, but it's needed,