From b6ad0d563d8eeb6f9e6dd79cb36ceee1c0729947 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 18 Jan 2010 10:26:33 +0000 Subject: [PATCH] backport GStreamer backend bugfixes, fix random disappearing sound under KDE --- phonon-4.3.80-gstreamer-resetneeded.patch | 15 +++++++++++++++ phonon.spec | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 phonon-4.3.80-gstreamer-resetneeded.patch diff --git a/phonon-4.3.80-gstreamer-resetneeded.patch b/phonon-4.3.80-gstreamer-resetneeded.patch new file mode 100644 index 0000000..5e66198 --- /dev/null +++ b/phonon-4.3.80-gstreamer-resetneeded.patch @@ -0,0 +1,15 @@ +Index: gstreamer/mediaobject.cpp +=================================================================== +--- gstreamer/mediaobject.cpp (Revision 1076453) ++++ gstreamer/mediaobject.cpp (Revision 1076454) +@@ -916,7 +916,9 @@ + // Go into to loading state + changeState(Phonon::LoadingState); + m_loading = true; +- m_resetNeeded = false; ++ // IMPORTANT: Honor the m_resetNeeded flag as it currently stands. ++ // See https://qa.mandriva.com/show_bug.cgi?id=56807 ++ //m_resetNeeded = false; + m_resumeState = false; + m_pendingState = Phonon::StoppedState; + diff --git a/phonon.spec b/phonon.spec index 0802ee7..42ef77e 100644 --- a/phonon.spec +++ b/phonon.spec @@ -89,7 +89,7 @@ Provides: %{name}-backend-gst = %{version}-%{release} %if 0%{?pa_keep_old_hacks} %patch1 -p1 -b .xine_pulseaudio %endif -%patch -p0 -b .resetneeded +%patch100 -p0 -b .resetneeded %build mkdir -p %{_target_platform}