mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
parent
dc89edfdc6
commit
35f0e23a46
1 changed files with 4 additions and 0 deletions
|
@ -559,6 +559,10 @@ gst_x264_enc_init (GstX264Enc * encoder, GstX264EncClass * klass)
|
||||||
encoder->x264param.p_log_private = encoder;
|
encoder->x264param.p_log_private = encoder;
|
||||||
encoder->x264param.i_log_level = X264_LOG_DEBUG;
|
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);
|
gst_x264_enc_reset (encoder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue