summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-13 18:31:34 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-13 18:31:34 +0000
commit1bfce0cc90f0079a90b0812dd1796bca46e5016b (patch)
treef73c94812decf4ff21b8f760e63c9ee8af01f611 /src
parent631714140e6e95d3d8c7f7db6ae66ed12684fe55 (diff)
downloadxine-lib-1bfce0cc90f0079a90b0812dd1796bca46e5016b.tar.gz
xine-lib-1bfce0cc90f0079a90b0812dd1796bca46e5016b.tar.bz2
Fix my stupid bug, id3 tag should work with seekable inputs now.
CVS patchset: 5516 CVS date: 2003/10/13 18:31:34
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_mpgaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c
index a628a9e6c..0f91d3184 100644
--- a/src/demuxers/demux_mpgaudio.c
+++ b/src/demuxers/demux_mpgaudio.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_mpgaudio.c,v 1.117 2003/10/13 14:52:53 valtri Exp $
+ * $Id: demux_mpgaudio.c,v 1.118 2003/10/13 18:31:34 valtri Exp $
*
* demultiplexer for mpeg audio (i.e. mp3) streams
*
@@ -841,7 +841,7 @@ static void demux_mpgaudio_send_headers (demux_plugin_t *this_gen) {
this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1;
/* read id3 info only from inputs with seeking and without "live" flag */
- if ((this->input->get_capabilities(this->input) & INPUT_CAP_SEEKABLE & INPUT_CAP_SLOW_SEEK) == INPUT_CAP_SEEKABLE) {
+ if ((this->input->get_capabilities(this->input) & (INPUT_CAP_SEEKABLE | INPUT_CAP_SLOW_SEEK)) == INPUT_CAP_SEEKABLE) {
off_t pos;
/* check ID3 v1 at the end of the stream */