mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 16:36:56 +00:00
libavcodec 2pass broke mencoder if divx4encore was not available. fixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5391 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a5dfcdf157
commit
f7573d2c09
@ -129,10 +129,10 @@ static config_t mencoder_opts[]={
|
||||
|
||||
{"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4, NULL},
|
||||
|
||||
#ifdef HAVE_DIVX4ENCORE
|
||||
{"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2, NULL},
|
||||
{"passlogfile", &passtmpfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
||||
|
||||
#ifdef HAVE_DIVX4ENCORE
|
||||
{"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
||||
#endif
|
||||
#ifdef HAVE_MP3LAME
|
||||
|
@ -183,11 +183,9 @@ char* ac3_filename=NULL;
|
||||
|
||||
char *force_fourcc=NULL;
|
||||
|
||||
#ifdef HAVE_DIVX4ENCORE
|
||||
static int pass=0;
|
||||
static char* passtmpfile="divx2pass.log";
|
||||
int pass_working=0;
|
||||
#endif
|
||||
|
||||
static int play_n_frames=-1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user