mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
x264enc: Add some more debug info
This commit is contained in:
parent
b27ce43ab8
commit
3554c95548
1 changed files with 9 additions and 6 deletions
|
@ -1015,13 +1015,16 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
|
|||
encoder->x264param.i_timebase_den = 1000000000;
|
||||
#endif
|
||||
|
||||
/* apply user set properties */
|
||||
if (encoder->option_string_prop && encoder->option_string_prop->len
|
||||
&& gst_x264_enc_parse_options (encoder,
|
||||
/* apply option-string property */
|
||||
if (encoder->option_string_prop && encoder->option_string_prop->len) {
|
||||
GST_DEBUG_OBJECT (encoder, "Applying option-string: %s",
|
||||
encoder->option_string_prop->str);
|
||||
if (gst_x264_enc_parse_options (encoder,
|
||||
encoder->option_string_prop->str) == FALSE) {
|
||||
GST_DEBUG_OBJECT (encoder, "Your option-string contains errors.");
|
||||
goto unlock_and_return;
|
||||
}
|
||||
}
|
||||
/* apply user-set options */
|
||||
if (encoder->option_string && encoder->option_string->len) {
|
||||
GST_DEBUG_OBJECT (encoder, "Applying user-set options: %s",
|
||||
|
|
Loading…
Reference in a new issue