Tell x264 that we aren't going to give it timestamps.

Fixes some warnings starting in x264-r1480.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31049 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
lorenm 2010-04-20 09:14:54 +00:00
parent 9ec5f2f565
commit c462186142
2 changed files with 2 additions and 1 deletions

2
configure vendored
View File

@ -7484,7 +7484,7 @@ if test "$_x264" = auto ; then
cat > $TMPC << EOF
#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 83
#if X264_BUILD < 89
#error We do not support old versions of x264. Get the latest from git.
#endif
int main(void) { x264_encoder_open((void*)0); return 0; }

View File

@ -152,6 +152,7 @@ static int config(struct vf_instance *vf, int width, int height, int d_width, in
param.i_height = height;
param.i_fps_num = mod->mux->h.dwRate;
param.i_fps_den = mod->mux->h.dwScale;
param.b_vfr_input = 0;
param.vui.i_sar_width = d_width*height;
param.vui.i_sar_height = d_height*width;