From 16196a40d6adbf672fcc4804d4b28710e5c2ba9f Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Thu, 8 Jul 2010 16:09:56 +0300 Subject: [PATCH] Revert "ts.c: check that pts is valid for H264" This reverts commit cf45f5073677d2e7bfe57066c426340703198107. --- modules/mux/mpeg/ts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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, -- 2.39.2