From 8f487c26cd77f2a5784b720b2bce79e108d4f9b9 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Sun, 24 Jun 2012 13:44:46 +0000 Subject: [PATCH] * Sun Jun 24 2012 Julian Sikorski - 1.1-1 - Updated to 1.1 - Made %pre, %svn and %svnbuild defines optional - Switched to .xz sources - Updated the ffmpeg patch - Fixed -vo png:alpha using a patch from SVN (RPM Fusion bug #2362) --- mplayer-pngalpha.patch | 13 +++++++++++++ mplayer.spec | 5 ++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 mplayer-pngalpha.patch diff --git a/mplayer-pngalpha.patch b/mplayer-pngalpha.patch new file mode 100644 index 0000000..3d65579 --- /dev/null +++ b/mplayer-pngalpha.patch @@ -0,0 +1,13 @@ +Index: libvo/vo_png.c +=================================================================== +--- libvo/vo_png.c (wersja 34891) ++++ libvo/vo_png.c (wersja 34892) +@@ -205,7 +205,7 @@ + switch(format){ + case IMGFMT_RGB24: + return use_alpha ? 0 : supported_flags; +- case IMGFMT_BGR32: ++ case IMGFMT_RGBA: + return use_alpha ? supported_flags : 0; + } + return 0; diff --git a/mplayer.spec b/mplayer.spec index e205f54..9fdcd20 100644 --- a/mplayer.spec +++ b/mplayer.spec @@ -24,6 +24,7 @@ Source0: http://www.mplayerhq.hu/MPlayer/releases/MPlayer-%{version}%{?pr Source1: http://www.mplayerhq.hu/MPlayer/skins/Blue-1.8.tar.bz2 Source10: mplayer-snapshot.sh Patch0: %{name}-gmplayer-subtitles.patch +Patch1: %{name}-pngalpha.patch # set defaults for Fedora Patch2: %{name}-config.patch # use roff include statements instead of symlinks @@ -223,6 +224,7 @@ This package contains various scripts from MPlayer TOOLS directory. rm -rf ffmpeg libdvdcss libdvdnav libdvdread4 %endif %patch0 -p0 -b .gmplayer-subtitles +%patch0 -p0 -b .pngalpha %patch2 -p1 -b .config %patch8 -p1 -b .manlinks %patch14 -p1 -b .nodvdcss @@ -382,11 +384,12 @@ update-desktop-database &>/dev/null || : %{_datadir}/mplayer/*.fp %changelog -* Thu Jun 14 2012 Julian Sikorski - 1.1-1 +* Sun Jun 24 2012 Julian Sikorski - 1.1-1 - Updated to 1.1 - Made %%pre, %%svn and %%svnbuild defines optional - Switched to .xz sources - Updated the ffmpeg patch +- Fixed -vo png:alpha using a patch from SVN (RPM Fusion bug #2362) * Wed Jun 13 2012 Julian Sikorski - 1.0-0.139.20120205svn - Restored the ability to disable subtitles in gmplayer (RPM Fusion bug #2373)