x264enc: set appropriate time base

Fixes #624786.
This commit is contained in:
David Hoyt 2010-07-20 16:40:22 +02:00 committed by Mark Nauwelaerts
parent dc89edfdc6
commit 35f0e23a46

View file

@ -559,6 +559,10 @@ gst_x264_enc_init (GstX264Enc * encoder, GstX264EncClass * klass)
encoder->x264param.p_log_private = encoder;
encoder->x264param.i_log_level = X264_LOG_DEBUG;
/* setup appropriate timebase for gstreamer */
encoder->x264param.i_timebase_num = 1;
encoder->x264param.i_timebase_den = 1000000000;
gst_x264_enc_reset (encoder);
}