Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-ugly/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17040
Modified Files:
gstreamer-plugins-ugly.spec
Added Files:
gst-plugins-ugly-0.10.9-gstmpegaudioparse.patch
Log Message:
* Tue Nov 4 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.9-2
- Fix decoding of certain mp3 files (rpmfusion bug 108)
gst-plugins-ugly-0.10.9-gstmpegaudioparse.patch:
--- NEW FILE gst-plugins-ugly-0.10.9-gstmpegaudioparse.patch ---
--- gst-plugins-ugly-0.10.9/gst/mpegaudioparse/gstmpegaudioparse.c 2008/10/13
09:04:15 1.103
+++ gst-plugins-ugly-0.10.9/gst/mpegaudioparse/gstmpegaudioparse.c 2008/10/14
19:28:05 1.104
@@ -1349,10 +1349,12 @@
mp3parse->spf = 384;
else if (mp3parse->layer == 2)
mp3parse->spf = 1152;
- else if (mp3parse->version == 2) {
- mp3parse->spf = 576;
- } else
+ else if (mp3parse->version == 1) {
mp3parse->spf = 1152;
+ } else {
+ /* MPEG-2 or "2.5" */
+ mp3parse->spf = 576;
+ }
}
mp3parse->bit_rate = bitrate;
Index: gstreamer-plugins-ugly.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/devel/gstreamer-plugins-ugly.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gstreamer-plugins-ugly.spec 14 Sep 2008 13:14:22 -0000 1.6
+++ gstreamer-plugins-ugly.spec 4 Nov 2008 10:11:47 -0000 1.7
@@ -11,13 +11,15 @@
Summary: GStreamer streaming media framework "ugly" plug-ins
Name: gstreamer-plugins-ugly
Version: 0.10.9
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
URL:
http://gstreamer.freedesktop.org/
Source:
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{...
# Backport from upstream cvs to fix asf seeking, drop on next upstream rebase
Patch0: gstasfdemux.patch
+# Backport from upstream cvs to fix playback of certain mp3 streams
+Patch1: gst-plugins-ugly-0.10.9-gstmpegaudioparse.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{gstreamer} >= %{gst_minver}
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
@@ -59,6 +61,7 @@
%prep
%setup -q -n gst-plugins-ugly-%{version}
%patch0 -p1
+%patch1 -p1
%build
@@ -108,6 +111,9 @@
%changelog
+* Tue Nov 4 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.9-2
+- Fix decoding of certain mp3 files (rpmfusion bug 108)
+
* Sat Sep 14 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.9-1
- New upstream release 0.10.9