Accepting request 131371 from home:plater

add theora fourcc capability,I made this a year ago.

OBS-URL: https://build.opensuse.org/request/show/131371
OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=67
This commit is contained in:
Manfred Tremmel 2012-08-22 18:47:04 +00:00 committed by Git OBS Bridge
parent 79ecbd8408
commit 244c1f92f6
3 changed files with 21 additions and 0 deletions

13
xine-lib-theora.patch Normal file
View File

@ -0,0 +1,13 @@
Index: src/xine-engine/buffer_types.c
===================================================================
--- src/xine-engine/buffer_types.c.orig 2012-02-05 21:17:03.000000000 +0200
+++ src/xine-engine/buffer_types.c 2012-07-16 15:39:19.681795420 +0200
@@ -585,6 +585,8 @@ static const video_db_t video_db[] = {
},
{
{
+ ME_FOURCC('t','h','e','o'),
+ ME_FOURCC('T','H','E','O'),
0,
},
BUF_VIDEO_THEORA,

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 18 10:54:59 UTC 2012 - davejplater@gmail.com
- Added xine-lib-theora.patch to add fourcc code to xine
-------------------------------------------------------------------
Thu Jun 21 07:58:03 UTC 2012 - adrian@suse.de

View File

@ -128,6 +128,8 @@ Patch0: xine-lib-libdvdread_udf.diff
Patch1: xine-lib-v4l-2.6.38.patch
Patch2: xine-lib-without-ffmpeg.patch
Patch3: fix-non-x86-build.diff
# Add theora FOURCC to libxine I found an avi container that xine wouldn't play.
Patch4: xine-lib-theora.patch
%description
<p>Great video and multimediaplayer, supports DVD, MPEG, AVI, DivX, VCD, Quicktime ...</p><p>You need a frontend for xine-lib like <a href=http://packman.links2linux.de/package/xine-ui>xine-ui</a>, <a href=http://packman.links2linux.de/package/gxine>gxine</a>, <a href=http://packman.links2linux.de/package/kaffeine>kaffeine</a> or <a href=http://packman.links2linux.de/package/totem>totem</a>.</p><p>Since 1-rc6 the package number is reduced, all you may miss, is in the base package</p><p>If you want to play css encrypted Video-DVD's, you need to install <a href=http://packman.links2linux.de/package/libdvdcss2>libdvdcss</a>.</p>
@ -505,6 +507,7 @@ EOF
%ifnarch %ix86 x86_64
%patch3
%endif
%patch4
rm -f m4/libtool15.m4
sed -i -e 's|/tmp/vdr-xine|/var/lib/vdr-xine|g' src/vdr/input_vdr.c