[vlc-commits] commit: Revert "ts.c: check that pts is valid for H264" (Ilkka Ollakka )

git at videolan.org git at videolan.org
Thu Jul 8 15:13:43 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Jul  8 16:09:56 2010 +0300| [16196a40d6adbf672fcc4804d4b28710e5c2ba9f] | committer: Ilkka Ollakka 

Revert "ts.c: check that pts is valid for H264"

This reverts commit cf45f5073677d2e7bfe57066c426340703198107.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=16196a40d6adbf672fcc4804d4b28710e5c2ba9f
---

 modules/mux/mpeg/ts.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index abe62c4..eb0ce12 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,



More information about the vlc-commits mailing list