p_intf->p_sys->b_current_title_update = VLC_TRUE;
p_intf->p_sys->b_intf_update = VLC_TRUE;
p_intf->p_sys->b_input_update = VLC_FALSE;
+ if( p_intf->p_sys->p_input )
+ vlc_object_yield( p_intf->p_sys->p_input );
}
if( p_intf->p_sys->b_intf_update )
{
if( ( b_input = ( p_intf->p_sys->p_input != NULL ) ) )
{
- vlc_object_yield( p_intf->p_sys->p_input );
/* seekable streams */
b_seekable = var_GetBool( p_intf->p_sys->p_input, "seekable" );
/* chapters & titles */
//b_chapters = p_intf->p_sys->p_input->stream.i_area_nb > 1;
- vlc_object_release( p_intf->p_sys->p_input );
}
[o_btn_stop setEnabled: b_input];
vout_thread_t * p_vout;
int returnedValue = 0;
+ if (p_intf->p_sys->p_input)
+ {
+ vlc_object_release( p_intf->p_sys->p_input );
+ p_intf->p_sys->p_input = NULL;
+ }
/* Stop playback */
p_playlist = pl_Yield( p_intf );
playlist_Stop( p_playlist );
break;
default:
+ NSLog(@"unknow item in pref");
break;
}
} while( p_item < p_end && p_item++ );
o_view = [[VLCFlippedView alloc] initWithFrame: s_vrc];
[o_view setAutoresizingMask: NSViewWidthSizable | NSViewMinYMargin |
NSViewMaxYMargin];
-
+NSLog(@"%s", __FUNCTION__);
/* Create all subviews if it isn't already done because we cannot use */
/* setHiden for MacOS < 10.3*/
if( o_subviews == nil )