Skip to content

Commit

Permalink
Don't reset master program clock if master program was not selected
Browse files Browse the repository at this point in the history
  • Loading branch information
funman committed Dec 10, 2013
1 parent 08b4cca commit 7880850
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/input/es_out.c
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,9 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
EsOutIsExtraBufferingAllowed( out ),
i_pcr, mdate() );

if( !p_sys->p_pgrm )
return VLC_SUCCESS;

if( p_sys->b_buffering )
{
/* Check buffering state on master clock update */
Expand Down

0 comments on commit 7880850

Please sign in to comment.