Commit cf45f507 authored by Ilkka Ollakka's avatar Ilkka Ollakka

ts.c: check that pts is valid for H264

Hackish workaround for #3306
parent d5cec458
...@@ -1604,7 +1604,8 @@ static int Mux( sout_mux_t *p_mux ) ...@@ -1604,7 +1604,8 @@ static int Mux( sout_mux_t *p_mux )
} }
/* Convert to pes */ /* Convert to pes */
if( p_stream->i_stream_id == 0xa0 && if( (p_stream->i_stream_id == 0xa0 ||
p_stream->i_stream_type == 0x1b ) && /*Workaroud for bug #3306 */
p_data->i_pts <= 0 ) p_data->i_pts <= 0 )
{ {
/* XXX yes I know, it's awful, but it's needed, /* XXX yes I know, it's awful, but it's needed,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment