Hello community, here is the log from the commit of package phonon-backend-gstreamer-0_10 for openSUSE:Factory checked in at Sun Oct 16 12:56:42 CEST 2011. -------- --- openSUSE:Factory/phonon-backend-gstreamer-0_10/phonon-backend-gstreamer-0_10.changes 2011-09-23 12:39:44.000000000 +0200 +++ /mounts/work_src_done/STABLE/phonon-backend-gstreamer-0_10/phonon-backend-gstreamer-0_10.changes 2011-10-14 14:18:51.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Oct 14 12:17:39 UTC 2011 - coolo@suse.com + +- stop the tick timer when the sound is paused, saves battery + +------------------------------------------------------------------- @@ -4 +9,2 @@ -- phonon version and phonon-gstreamer version are not necessarily the same, currently the package is uninstallable +- phonon version and phonon-gstreamer version are not necessarily + the same, currently the package is uninstallable calling whatdependson for head-i586 New: ---- stoptimer.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ phonon-backend-gstreamer-0_10.spec ++++++ --- /var/tmp/diff_new_pack.VDWbwV/_old 2011-10-16 12:56:34.000000000 +0200 +++ /var/tmp/diff_new_pack.VDWbwV/_new 2011-10-16 12:56:34.000000000 +0200 @@ -27,6 +27,7 @@ %define filename phonon-backend-gstreamer %define _phonon_version 4.5.0 Source0: %{filename}-%{version}.tar.bz2 +Patch0: stoptimer.diff BuildRequires: alsa-devel BuildRequires: automoc4 BuildRequires: cmake @@ -48,6 +49,7 @@ %prep %setup -q -n %{filename}-%{version} +%patch0 -p1 %build # compile everything for now, actually we should compile ++++++ stoptimer.diff ++++++ Index: phonon-backend-gstreamer-4.5.1/gstreamer/mediaobject.cpp =================================================================== --- phonon-backend-gstreamer-4.5.1.orig/gstreamer/mediaobject.cpp +++ phonon-backend-gstreamer-4.5.1/gstreamer/mediaobject.cpp @@ -1592,7 +1592,7 @@ void MediaObject::handleStateMessage(Gst case GST_STATE_PAUSED : m_backend->logMessage("gstreamer: pipeline state set to paused", Backend::Info, this); - m_tickTimer->start(); + //m_tickTimer->start(); if (state() == Phonon::LoadingState) { loadingComplete(); } else if (m_resumeState && m_oldState == Phonon::PausedState) { @@ -1840,6 +1840,7 @@ void MediaObject::handleEndOfStream() } else { m_pendingState = Phonon::PausedState; emit finished(); + m_tickTimer->stop(); if (!m_seekable) { setState(Phonon::StoppedState); // Note the behavior for live streams is not properly defined continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org