From e06fbfdd73d5dc3a9e38d85cc87aac20ebf6119e Mon Sep 17 00:00:00 2001 From: phintuka Date: Sun, 14 Jan 2007 17:30:22 +0000 Subject: Fixed double entry in cdda playlist --- media_player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media_player.c b/media_player.c index c90c3960..29a1ca5d 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.19 2007-01-13 12:27:19 phintuka Exp $ + * $Id: media_player.c,v 1.20 2007-01-14 17:30:22 phintuka Exp $ * */ @@ -256,9 +256,9 @@ void cXinelibPlayer::Activate(bool On) if(m_Playlist.Count() == 1 && !strcmp("cdda:/", m_Playlist.First()->Filename)) { int count = cXinelibDevice::Instance().PlayFileCtrl("GETAUTOPLAYSIZE"); if(count>1) { - m_Playlist.Del(m_Playlist.First()); for(int i=0; i