projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
182072c
)
x264enc: Don't register flags with a value of 0
author
Sjoerd Simons
<sjoerd.simons@collabora.co.uk>
Mon, 14 Feb 2011 17:52:09 +0000
(17:52 +0000)
committer
Sjoerd Simons
<sjoerd.simons@collabora.co.uk>
Mon, 14 Feb 2011 17:52:12 +0000
(17:52 +0000)
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
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index
b1fbb5f
..
4617f23
100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-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;
}