mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +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,12 +1015,15 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
|
||||||
encoder->x264param.i_timebase_den = 1000000000;
|
encoder->x264param.i_timebase_den = 1000000000;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* apply user set properties */
|
/* apply option-string property */
|
||||||
if (encoder->option_string_prop && encoder->option_string_prop->len
|
if (encoder->option_string_prop && encoder->option_string_prop->len) {
|
||||||
&& gst_x264_enc_parse_options (encoder,
|
GST_DEBUG_OBJECT (encoder, "Applying option-string: %s",
|
||||||
encoder->option_string_prop->str) == FALSE) {
|
encoder->option_string_prop->str);
|
||||||
GST_DEBUG_OBJECT (encoder, "Your option-string contains errors.");
|
if (gst_x264_enc_parse_options (encoder,
|
||||||
goto unlock_and_return;
|
encoder->option_string_prop->str) == FALSE) {
|
||||||
|
GST_DEBUG_OBJECT (encoder, "Your option-string contains errors.");
|
||||||
|
goto unlock_and_return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* apply user-set options */
|
/* apply user-set options */
|
||||||
if (encoder->option_string && encoder->option_string->len) {
|
if (encoder->option_string && encoder->option_string->len) {
|
||||||
|
|
Loading…
Reference in a new issue