Commit 25346010 authored by Clément Stenac's avatar Clément Stenac

* Ensure garbage collector is called when disabling a video track (Closes:#935)

* Possible (not probable) fix for 934. Can't fix as building vlc on win32 is almost impossible
parent 514e325d
......@@ -89,7 +89,7 @@ void *VideoWidget::request( vout_thread_t *p_nvout, int *pi_x, int *pi_y,
return NULL;
}
p_vout = p_nvout;
setMinimumSize( 1,1 );
setMinimumSize( 0, 0 );
return (void*)winId();
}
......
......@@ -1303,6 +1303,14 @@ static int EsOutControl( es_out_t *out, int i_query, va_list args )
}
}
}
{
playlist_t * p_playlist = pl_Yield( p_sys->p_input );
PL_LOCK;
p_playlist->gc_date = mdate();
vlc_cond_signal( &p_playlist->object_wait );
PL_UNLOCK;
pl_Release( p_playlist );
}
return VLC_SUCCESS;
case ES_OUT_SET_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