summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpgaudio.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-13 14:52:53 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-13 14:52:53 +0000
commit0cc7195ba1b662c17f4ba706847f3b00e717d875 (patch)
treeb2618304be5d291a39e27d6c14dd11261774c108 /src/demuxers/demux_mpgaudio.c
parentcbad731a5de845631bf527c99d8574b8486dea0e (diff)
downloadxine-lib-0cc7195ba1b662c17f4ba706847f3b00e717d875.tar.gz
xine-lib-0cc7195ba1b662c17f4ba706847f3b00e717d875.tar.bz2
Don't find out id3 info in mp3 files saved by RIP from non-seekable inputs.
CVS patchset: 5507 CVS date: 2003/10/13 14:52:53
Diffstat (limited to 'src/demuxers/demux_mpgaudio.c')
-rw-r--r--src/demuxers/demux_mpgaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c
index 3107fec66..a628a9e6c 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.116 2003/10/11 15:20:22 tmattern Exp $
+ * $Id: demux_mpgaudio.c,v 1.117 2003/10/13 14:52:53 valtri Exp $
*
* demultiplexer for mpeg audio (i.e. mp3) streams
*
@@ -840,8 +840,8 @@ static void demux_mpgaudio_send_headers (demux_plugin_t *this_gen) {
this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 0;
this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1;
-
- if ((this->input->get_capabilities(this->input) & INPUT_CAP_SEEKABLE) != 0) {
+ /* 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) {
off_t pos;
/* check ID3 v1 at the end of the stream */