mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue