1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

-vivo version option added

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3504 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-12-15 16:49:45 +00:00
parent 1fc41f6a2b
commit 149f8a1265
2 changed files with 5 additions and 0 deletions

View File

@ -116,6 +116,7 @@ struct config tvopts_conf[]={
#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_height;
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},

View File

@ -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 @@ void demux_open_vivo(demuxer_t* demuxer){
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);