vlc-gpe: make 0.8.1 work with more recent tremor API. patch courtesy of Philipp Zabel...
authorRene Wagner <rw@handhelds.org>
Wed, 24 Aug 2005 15:56:20 +0000 (15:56 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 24 Aug 2005 15:56:20 +0000 (15:56 +0000)
packages/vlc/vlc-gpe-0.8.1/.mtn2git_empty [moved from packages/vlc/files/.mtn2git_empty with 100% similarity]
packages/vlc/vlc-gpe-0.8.1/fix-pda.patch [moved from packages/vlc/files/fix-pda.patch with 100% similarity]
packages/vlc/vlc-gpe-0.8.1/vlc-tremor.patch [new file with mode: 0644]
packages/vlc/vlc-gpe_0.8.1.bb

diff --git a/packages/vlc/vlc-gpe-0.8.1/vlc-tremor.patch b/packages/vlc/vlc-gpe-0.8.1/vlc-tremor.patch
new file mode 100644 (file)
index 0000000..2a5a924
--- /dev/null
@@ -0,0 +1,14 @@
+--- vlc-0.8.1/modules/codec/vorbis.c.orig      2005-08-05 19:57:05 +0200
++++ vlc-0.8.1/modules/codec/vorbis.c   2005-08-05 20:01:22 +0200
+@@ -481,7 +481,11 @@
+ #endif
+     if( p_oggpacket->bytes &&
++#ifdef MODULE_NAME_IS_tremor
++        vorbis_synthesis( &p_sys->vb, p_oggpacket, 1 ) == 0 )
++#else
+         vorbis_synthesis( &p_sys->vb, p_oggpacket ) == 0 )
++#endif
+         vorbis_synthesis_blockin( &p_sys->vd, &p_sys->vb );
+     /* **pp_pcm is a multichannel float vector. In stereo, for
index f433803..599701d 100644 (file)
@@ -4,12 +4,13 @@ LICENSE = "GPL"
 PRIORITY = "optional"
 MAINTAINER = "Rene Wagner <rw@handhelds.org>"
 SECTION = "gpe"
-PR = "r3"
+PR = "r4"
 
 DEPENDS = "gtk+ freetype gnutls tremor faad2 ffmpeg flac liba52 libid3tag libmad mpeg2dec"
 
 SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.gz \
-file://fix-pda.patch;patch=1"
+       file://fix-pda.patch;patch=1 \
+       file://vlc-tremor.patch;patch=1"
 S = "${WORKDIR}/vlc-${PV}"
 
 inherit autotools