x264: fix printf format warning in debug message

This commit is contained in:
Tim-Philipp Müller 2010-08-09 00:31:15 +01:00
parent d114b121db
commit 5225f5cc16

View file

@ -1035,9 +1035,9 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
encoder->option_string->str); encoder->option_string->str);
if (gst_x264_enc_parse_options (encoder, if (gst_x264_enc_parse_options (encoder,
encoder->option_string->str) == FALSE) { encoder->option_string->str) == FALSE) {
GST_DEBUG_OBJECT (encoder, GST_DEBUG_OBJECT (encoder, "Failed to parse internal option string. "
"Failed to parse internal option string. This could be due to use of an " "This could be due to use of an old libx264 version. Option string "
"old libx264 version.", encoder->option_string->str); "was: %s", encoder->option_string->str);
} }
} }