Mercurial > mplayer.hg
diff mplayer.c @ 35510:06aa6dc71613
Combine guiPlaylistInitialize() and guiPlaylistAdd().
New guiPlaylist() handles both now according to the instruction
passed to it.
author | ib |
---|---|
date | Wed, 05 Dec 2012 11:51:08 +0000 |
parents | 6c9c58ad43a3 |
children | 912ea01174c1 |
line wrap: on
line diff
--- a/mplayer.c Wed Dec 05 08:35:23 2012 +0000 +++ b/mplayer.c Wed Dec 05 11:51:08 2012 +0000 @@ -1033,7 +1033,7 @@ #ifdef CONFIG_GUI if (use_gui) { if (entry) { - guiPlaylistAdd(entry, mconfig); + guiPlaylist(GUI_PLAYLIST_ADD, entry, mconfig, 0); play_tree_free_list(entry, 1); } } else @@ -2859,7 +2859,7 @@ play_tree_add_bpf(mpctx->playtree, cwd); } // Import initital playtree into GUI. - guiPlaylistInitialize(mpctx->playtree, mconfig, enqueue); + guiPlaylist(GUI_PLAYLIST_INIT, mpctx->playtree, mconfig, enqueue); } #endif /* CONFIG_GUI */