summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorlorenm <lorenm@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-20 09:14:54 +0000
committerlorenm <lorenm@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-20 09:14:54 +0000
commitc462186142cdf5b0a9ccbde71d5d5b0eafa4fcae (patch)
treecb1ea3ae31b52a30beb2d92332cd41622c54f304 /libmpcodecs
parent9ec5f2f565cf1182365d7c781e8b03dbe12617e3 (diff)
downloadmpv-c462186142cdf5b0a9ccbde71d5d5b0eafa4fcae.tar.bz2
mpv-c462186142cdf5b0a9ccbde71d5d5b0eafa4fcae.tar.xz
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ve_x264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/ve_x264.c b/libmpcodecs/ve_x264.c
index 1c59e84397..c14b71ab55 100644
--- a/libmpcodecs/ve_x264.c
+++ b/libmpcodecs/ve_x264.c
@@ -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;