projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc89edf
)
x264enc: set appropriate time base
author
David Hoyt
<dhoyt@llnl.gov>
Tue, 20 Jul 2010 14:40:22 +0000
(16:40 +0200)
committer
Mark Nauwelaerts
<mark.nauwelaerts@collabora.co.uk>
Tue, 20 Jul 2010 14:44:46 +0000
(16:44 +0200)
Fixes #624786.
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index 83c4cb701e0a3307ef404a7c129d1fee6b7ed88b..ad342216fef666c6f646e623260bcce99973e838 100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-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);
}