summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-04-14 13:04:56 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-04-14 13:04:56 +0000
commitf67e525e24c51cccdd746a870bb8c05a93293ddc (patch)
tree015d08debdcf878dbe99e063039ae46952a0a937 /media-libs/xine-lib/files
parentRemove scons, libzvt and wengophone masks (diff)
downloadgentoo-2-f67e525e24c51cccdd746a870bb8c05a93293ddc.tar.gz
gentoo-2-f67e525e24c51cccdd746a870bb8c05a93293ddc.tar.bz2
gentoo-2-f67e525e24c51cccdd746a870bb8c05a93293ddc.zip
oops, forgot the patch, thanks zzam
(Portage version: 2.1.2.3)
Diffstat (limited to 'media-libs/xine-lib/files')
-rw-r--r--media-libs/xine-lib/files/xine-lib-cdda-fix.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/media-libs/xine-lib/files/xine-lib-cdda-fix.patch b/media-libs/xine-lib/files/xine-lib-cdda-fix.patch
new file mode 100644
index 000000000000..a289da04e39d
--- /dev/null
+++ b/media-libs/xine-lib/files/xine-lib-cdda-fix.patch
@@ -0,0 +1,34 @@
+
+# HG changeset patch
+# User Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
+# Date 1176501310 -7200
+# Node ID 16e2e0741d34d2b8b47a835076aa1c15637d4964
+# Parent 7d3dcb71e309c19196e2027ba418fdb17f1d6c8d
+Use the stream's audio_fifo as it hasn't been reported on the demuxer's instance yet.
+
+--- a/src/demuxers/demux_ac3.c Thu Apr 12 18:02:38 2007 +0200
++++ b/src/demuxers/demux_ac3.c Fri Apr 13 23:55:10 2007 +0200
+@@ -138,7 +138,7 @@ static int open_ac3_file(demux_ac3_t *th
+ if (blocksize) {
+ this->input->seek(this->input, 0, SEEK_SET);
+ buf_element_t *buf = this->input->read_block(this->input,
+- this->audio_fifo,
++ this->stream->audio_fifo,
+ blocksize);
+ this->input->seek(this->input, 0, SEEK_SET);
+
+--- a/src/demuxers/demux_dts.c Thu Apr 12 18:02:38 2007 +0200
++++ b/src/demuxers/demux_dts.c Fri Apr 13 23:55:10 2007 +0200
+@@ -86,9 +86,9 @@ static int open_dts_file(demux_dts_t *th
+
+ blocksize = this->input->get_blocksize(this->input);
+ if (blocksize) {
+- this->input->seek(this->input, 0, SEEK_SET);
++ // this->input->seek(this->input, 0, SEEK_SET);
+ buf_element_t *buf = this->input->read_block(this->input,
+- this->audio_fifo,
++ this->stream->audio_fifo,
+ blocksize);
+ this->input->seek(this->input, 0, SEEK_SET);
+
+