Commit b0e3f34f authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

Fix a refcount issue of p_input in the core of the 0.8.6 branch

parent 95640d3b
...@@ -736,6 +736,12 @@ static void RunThread( vout_thread_t *p_vout) ...@@ -736,6 +736,12 @@ static void RunThread( vout_thread_t *p_vout)
display_date = 0; display_date = 0;
current_date = mdate(); current_date = mdate();
if( p_input && p_input->b_die )
{
vlc_object_release( p_input );
p_input = NULL;
}
#if 0 #if 0
p_vout->c_loops++; p_vout->c_loops++;
if( !(p_vout->c_loops % VOUT_STATS_NB_LOOPS) ) if( !(p_vout->c_loops % VOUT_STATS_NB_LOOPS) )
......
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