Commit 3de04848 authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics.

parent 876367e0
...@@ -1375,9 +1375,6 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture, ...@@ -1375,9 +1375,6 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
} }
/* */ /* */
int i_rate = INPUT_RATE_DEFAULT;
mtime_t i_delay;
if( b_buffering_first ) if( b_buffering_first )
{ {
assert( p_owner->buffer.b_first ); assert( p_owner->buffer.b_first );
...@@ -1385,10 +1382,10 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture, ...@@ -1385,10 +1382,10 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
msg_Dbg( p_dec, "Received first picture" ); msg_Dbg( p_dec, "Received first picture" );
p_owner->buffer.b_first = false; p_owner->buffer.b_first = false;
p_picture->b_force = true; p_picture->b_force = true;
i_delay = 0;
if( p_owner->p_clock )
i_rate = input_clock_GetRate( p_owner->p_clock );
} }
int i_rate = INPUT_RATE_DEFAULT;
mtime_t i_delay;
DecoderFixTs( p_dec, &p_picture->date, NULL, NULL, DecoderFixTs( p_dec, &p_picture->date, NULL, NULL,
&i_rate, &i_delay, false ); &i_rate, &i_delay, false );
......
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