# HG changeset patch # User alex # Date 1005438694 0 # Node ID 478202620831fbb74cceba56466e8db9ddd9365a # Parent 3b0775b6fc7af0ba20cfc3670fae723a028840d2 disabled vivo2 scaling (decodes some vivo2 files) diff -r 3b0775b6fc7a -r 478202620831 libmpdemux/demux_viv.c --- 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