Commit 3d733ad0 authored by Wim Taymans's avatar Wim Taymans

videoscale: fix gamma-decode option

We need to use the enum to configure the option now.
parent 7447736b
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment