Commit 854c0421 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* quickly forward-port the previous commit so joneskoo can test it

parent 253233c6
...@@ -967,15 +967,16 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -967,15 +967,16 @@ static VLCMain *_o_sharedMainInstance = nil;
if( ( b_input = ( p_input != NULL ) ) ) if( ( b_input = ( p_input != NULL ) ) )
{ {
vlc_object_yield( p_input );
/* seekable streams */ /* seekable streams */
var_Get( p_input, "seekable", &val); b_seekable = var_GetBool( p_input, "seekable" );
b_seekable = val.b_bool;
/* check wether slow/fast motion is possible*/ /* check wether slow/fast motion is possible*/
b_control = p_input->input.b_can_pace_control; b_control = p_input->input.b_can_pace_control;
/* chapters & titles */ /* chapters & titles */
//b_chapters = p_input->stream.i_area_nb > 1; //b_chapters = p_input->stream.i_area_nb > 1;
vlc_object_release( p_input );
} }
[o_btn_stop setEnabled: b_input]; [o_btn_stop setEnabled: b_input];
......
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