Commit 20b91341 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: add work-around to prevent freshly created media files from being...

macosx: add work-around to prevent freshly created media files from being over-written (close #8685)

The core may restart playback on termination and in turn over-write created files with garbage. The less hacky approach 7f52b2ae is 2.1-only and thus can't be backported. A proper solution is covered by #8353 and depends on future core modifications scheduled for 2.2
parent c60486f2
...@@ -750,6 +750,10 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -750,6 +750,10 @@ static VLCMain *_o_sharedMainInstance = nil;
msg_Dbg( p_intf, "Terminating" ); msg_Dbg( p_intf, "Terminating" );
/* HACK: the playlist will re-start on quit because of a core vs. UI module limitation
* in turn, items created by transcoding can and will be over-written with garbage */
playlist_Clear(p_playlist, false);
/* unsubscribe from the interactive dialogues */ /* unsubscribe from the interactive dialogues */
dialog_Unregister( p_intf ); dialog_Unregister( p_intf );
var_DelCallback( p_intf, "dialog-error", DialogCallback, self ); var_DelCallback( p_intf, "dialog-error", DialogCallback, self );
......
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