From 0cc7195ba1b662c17f4ba706847f3b00e717d875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 13 Oct 2003 14:52:53 +0000 Subject: 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 --- src/demuxers/demux_mpgaudio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/demuxers/demux_mpgaudio.c') 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 */ -- cgit v1.2.3