summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-14 06:55:10 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-14 06:55:10 +0000
commit663b38cc9d22bc6efd3803f957c18b2df893b51a (patch)
tree75303100a663ff405edbc5eb759db33f8efc9549
parentb9b8c3314c796fd4eaf1939b877f33059de5cc65 (diff)
downloadxine-lib-663b38cc9d22bc6efd3803f957c18b2df893b51a.tar.gz
xine-lib-663b38cc9d22bc6efd3803f957c18b2df893b51a.tar.bz2
Fix playing of asf stream without video (problem was only for seekable inputs).
CVS patchset: 5518 CVS date: 2003/10/14 06:55:10
-rw-r--r--src/demuxers/demux_asf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index 9ddace410..76d2b333a 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.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_asf.c,v 1.133 2003/10/13 23:49:01 tmattern Exp $
+ * $Id: demux_asf.c,v 1.134 2003/10/14 06:55:10 valtri Exp $
*
* demultiplexer for asf streams
*
@@ -1880,7 +1880,7 @@ static int demux_asf_seek (demux_plugin_t *this_gen,
state = 0;
/* no video stream */
- if (this->video_stream_id == 0) {
+ if (this->video_stream_id == -1) {
#ifdef LOG
printf ("demux_asf: demux_asf_seek: no video stream\n");
#endif