Mercurial > mplayer.hg
changeset 31007:26537f75c1dd
Tell x264 that we aren't going to give it timestamps.
Fixes some warnings starting in x264-r1480.
author | lorenm |
---|---|
date | Tue, 20 Apr 2010 09:14:54 +0000 |
parents | 768242ad42e2 |
children | 23af929986ec |
files | configure libmpcodecs/ve_x264.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Apr 20 08:55:04 2010 +0000 +++ b/configure Tue Apr 20 09:14:54 2010 +0000 @@ -7484,7 +7484,7 @@ 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; }
--- a/libmpcodecs/ve_x264.c Tue Apr 20 08:55:04 2010 +0000 +++ b/libmpcodecs/ve_x264.c Tue Apr 20 09:14:54 2010 +0000 @@ -152,6 +152,7 @@ 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;