[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 141078] [PATCH] Make DVD navigation work when playing DVD from
From:       Vladislav Bogdanov <slava_reg () nsys ! by>
Date:       2008-03-01 0:25:47
Message-ID: 20080301002547.465.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=141078         




------- Additional Comments From slava_reg nsys by  2008-03-01 01:25 -------
Following patch fixes the same issue when you press 'stop' and then 'play'.

--- kaffeine-0.8.6/kaffeine/src/player-parts/xine-part/xine_part.cpp.orig       \
                2008-01-20 19:50:49.000000000 +0200
+++ kaffeine-0.8.6/kaffeine/src/player-parts/xine-part/xine_part.cpp    2008-03-01 \
01:43:17.000000000 +0200  @ -351,7 +351,10  @ void XinePart::slotStop()
                uint title = m_xine->currentDVDTitleNumber();
                uint chapter = m_xine->currentDVDChapterNumber();

-               m_playlist[m_current] = MRL("dvd://" + QString::number(title) + "." + \
QString::number(chapter)); +               KURL url = m_mrl.kurl();
+
+               url.addPath(QString::number(title) + "." + QString::number(chapter));
+               m_playlist[m_current] = MRL(url);
        }

        QTimer::singleShot(0, m_xine, SLOT(slotStop()));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic