x264enc: Don't register flags with a value of 0
Flags with a value of 0 aren't meaningful and will cause g_value_transform to go into an endless loop when trying to convert the flags to a string
This commit is contained in:
parent
182072c91a
commit
0d20df6d2b
@ -376,7 +376,7 @@ gst_x264_enc_tune_get_type (void)
|
||||
static GType tune_type = 0;
|
||||
|
||||
if (!tune_type) {
|
||||
tune_type = g_flags_register_static ("GstX264EncTune", tune_types);
|
||||
tune_type = g_flags_register_static ("GstX264EncTune", tune_types + 1);
|
||||
}
|
||||
return tune_type;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user