Mercurial > mplayer.hg
changeset 3503:7aed2edd99ab
-vivo version option added
author | alex |
---|---|
date | Sat, 15 Dec 2001 16:49:45 +0000 |
parents | 1ff0ff94ac91 |
children | 21fc87d76300 |
files | cfg-common.h libmpdemux/demux_viv.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cfg-common.h Sat Dec 15 16:44:54 2001 +0000 +++ b/cfg-common.h Sat Dec 15 16:49:45 2001 +0000 @@ -116,6 +116,7 @@ #endif /* VIVO demuxer options: */ +extern int vivo_param_version; extern char *vivo_param_acodec; extern int vivo_param_abitrate; extern int vivo_param_samplerate; @@ -125,6 +126,7 @@ extern int vivo_param_vformat; struct config vivoopts_conf[]={ + {"version", &vivo_param_version, CONF_TYPE_INT, 0, 0, 0}, /* audio options */ {"acodec", &vivo_param_acodec, CONF_TYPE_STRING, 0, 0, 0}, {"abitrate", &vivo_param_abitrate, CONF_TYPE_INT, 0, 0, 0},
--- a/libmpdemux/demux_viv.c Sat Dec 15 16:44:54 2001 +0000 +++ b/libmpdemux/demux_viv.c Sat Dec 15 16:49:45 2001 +0000 @@ -16,6 +16,7 @@ #include "bswap.h" /* parameters ! */ +int vivo_param_version = -1; char *vivo_param_acodec = NULL; int vivo_param_abitrate = -1; int vivo_param_samplerate = -1; @@ -547,6 +548,8 @@ h263_decode_picture_header(demuxer->video->buffer); + if (vivo_param_version != -1) + priv->version = '0' + vivo_param_version; { sh_video_t* sh=new_sh_video(demuxer,0);