Commit 8af35880 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: respect 'playlist-autostart' (close #7272)

(cherry picked from commit dd212bfe22089604415aefa69b33cd8f354cd847)
parent 4af25812
...@@ -8,8 +8,9 @@ Access: ...@@ -8,8 +8,9 @@ Access:
Demux: Demux:
* Fix use after free in sgimb * Fix use after free in sgimb
MacOSX: Mac OS X:
* Fix interface crashes * Fix interface crashes
* Fix autostart playback option
Translations: Translations:
* update Welsh translation * update Welsh translation
......
...@@ -691,6 +691,13 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -691,6 +691,13 @@ static VLCMain *_o_sharedMainInstance = nil;
[o_mainwindow updateWindow]; [o_mainwindow updateWindow];
[o_mainwindow updateTimeSlider]; [o_mainwindow updateTimeSlider];
[o_mainwindow updateVolumeSlider]; [o_mainwindow updateVolumeSlider];
playlist_t * p_playlist = pl_Get(VLCIntf);
PL_LOCK;
BOOL kidsAround = p_playlist->p_local_category->i_children;
PL_UNLOCK;
if (kidsAround && var_GetBool(p_playlist, "playlist-autostart"))
[[self playlist] playItem:nil];
} }
- (void)initStrings - (void)initStrings
......
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