Commit 24ae7ed5 authored by Laurent Aimar's avatar Laurent Aimar

Fixed an assert with still frame in dvdnav.

We can come out of still mode by user actions, and so
the timer need to be reset in DVDNAV_BLOCK_OK.
parent 74657679
......@@ -605,6 +605,7 @@ static int Demux( demux_t *p_demux )
{
case DVDNAV_BLOCK_OK: /* mpeg block */
vlc_mutex_lock( &p_sys->still.lock );
vlc_timer_schedule( p_sys->still.timer, false, 0, 0 );
p_sys->still.b_enabled = false;
vlc_mutex_unlock( &p_sys->still.lock );
if( p_sys->b_reset_pcr )
......
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