[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bphonon-gstreamer=5D_gstreamer=3A_Fix_DVD_times_bein?=
From: Trever Fischer <wm161 () wm161 ! net>
Date: 2011-03-10 2:38:19
Message-ID: 20110310023819.059ADA60B0 () git ! kde ! org
[Download RAW message or body]
Git commit 8be86213b9050a02fb079e46a85aaa2863ec532b by Trever Fischer.
Committed on 10/03/2011 at 03:38.
Pushed by tdfischer into branch 'master'.
Fix DVD times being really really wrong. Turns out that rsndvdbin doesn't send out \
duration messages when the duration changes.
M +2 -0 gstreamer/mediaobject.cpp
http://commits.kde.org/phonon-gstreamer/8be86213b9050a02fb079e46a85aaa2863ec532b
diff --git a/gstreamer/mediaobject.cpp b/gstreamer/mediaobject.cpp
index 05aa24b..eb6ce56 100644
--- a/gstreamer/mediaobject.cpp
+++ b/gstreamer/mediaobject.cpp
@@ -1242,6 +1242,8 @@ void MediaObject::emitTick()
qint64 currentTime = getPipelinePos();
qint64 totalTime = m_totalTime;
+ // We don't get any other kind of notification when we change DVD chapters, so \
here's the best place... + updateTotalTime();
if (m_tickInterval > 0 && currentTime != m_previousTickTime) {
emit tick(currentTime);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic