aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-11 00:31:34 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-11 00:31:34 +0000
commit663c276f0065c41f8c837bde32d7625df4a14914 (patch)
treebf8733b360343b56bc38c36c2f5e9371c5cae7c8
parentad5bec8c07e080f7f1c74a43b34cdc7ad0e1faef (diff)
disabled vivo2 scaling (decodes some vivo2 files)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2806 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/demux_viv.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libmpdemux/demux_viv.c b/libmpdemux/demux_viv.c
index 3fea37222d..9df785cbb1 100644
--- a/libmpdemux/demux_viv.c
+++ b/libmpdemux/demux_viv.c
@@ -187,7 +187,7 @@ int vivo_check_file(demuxer_t* demuxer){
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 @@ void demux_open_vivo(demuxer_t* demuxer){
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