projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7447736
)
videoscale: fix gamma-decode option
author
Wim Taymans
<wtaymans@redhat.com>
Thu, 3 Sep 2015 15:55:10 +0000
(17:55 +0200)
committer
Wim Taymans
<wtaymans@redhat.com>
Thu, 3 Sep 2015 15:56:05 +0000
(17:56 +0200)
We need to use the enum to configure the option now.
gst/videoscale/gstvideoscale.c
patch
|
blob
|
history
diff --git
a/gst/videoscale/gstvideoscale.c
b/gst/videoscale/gstvideoscale.c
index
20a79f7
..
871717b
100644
(file)
--- a/
gst/videoscale/gstvideoscale.c
+++ b/
gst/videoscale/gstvideoscale.c
@@
-610,7
+610,8
@@
gst_video_scale_set_info (GstVideoFilter * filter, GstCaps * in,
if (videoscale->gamma_decode) {
gst_structure_set (options,
- GST_VIDEO_CONVERTER_OPT_GAMMA_MODE, G_TYPE_STRING, "remap", NULL);
+ GST_VIDEO_CONVERTER_OPT_GAMMA_MODE, GST_TYPE_VIDEO_GAMMA_MODE,
+ GST_VIDEO_GAMMA_MODE_REMAP, NULL);
}
if (videoscale->convert)