theoraenc: fix speed level failure test

It was testing the opposite of what it thought it was.

https://bugzilla.gnome.org/show_bug.cgi?id=663390
This commit is contained in:
Vincent Penquerc'h 2011-11-04 10:34:27 +00:00
parent a81cb3ef7f
commit 5d3852d91a

View file

@ -310,7 +310,7 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass)
th_ctx = dummy_encode_ctx ();
if (th_ctx) {
if (!check_speed_level (th_ctx, &default_speed_level, &max_speed_level))
if (check_speed_level (th_ctx, &default_speed_level, &max_speed_level))
GST_WARNING
("Failed to determine settings for the speed-level property.");
th_encode_free (th_ctx);