Commit df3cb44d authored by Antoine Cellerier's avatar Antoine Cellerier

Don't do pts changes to telx blocks if we're not runing real time.

parent bb58dbfa
...@@ -1071,7 +1071,8 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block ) ...@@ -1071,7 +1071,8 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
input_ClockGetTS( p_input, &p_pgrm->clock, input_ClockGetTS( p_input, &p_pgrm->clock,
( p_block->i_pts + 11 ) * 9 / 100 ) + i_delay; ( p_block->i_pts + 11 ) * 9 / 100 ) + i_delay;
} }
if ( es->fmt.i_codec == VLC_FOURCC( 't', 'e', 'l', 'x' ) ) if ( p_block->i_rate == INPUT_RATE_DEFAULT &&
es->fmt.i_codec == VLC_FOURCC( 't', 'e', 'l', 'x' ) )
{ {
mtime_t current_date = mdate(); mtime_t current_date = mdate();
if( !p_block->i_pts if( !p_block->i_pts
......
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