changeset 2805:478202620831

disabled vivo2 scaling (decodes some vivo2 files)
author alex
date Sun, 11 Nov 2001 00:31:34 +0000
parents 3b0775b6fc7a
children cbb62e07bc0e
files libmpdemux/demux_viv.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_viv.c	Sun Nov 11 00:14:46 2001 +0000
+++ b/libmpdemux/demux_viv.c	Sun Nov 11 00:31:34 2001 +0000
@@ -187,7 +187,7 @@
     buf[len]=0;
 //    printf("VIVO header: '%s'\n",buf);
 
-#if 1
+#if 0
     vivo_parse_text_header(demuxer, len);
     if (priv->supported == 0)
 	return 0;
@@ -472,6 +472,11 @@
 		    else
 			sh->fps=15.0f;
 		sh->frametime=1.0f/sh->fps;
+
+#warning "FIXME! we can't scale"
+		priv->disp_width = priv->width;
+		priv->disp_height = priv->height;
+
 		if (priv->disp_width)
 		    sh->disp_w = priv->disp_width;
 		else