mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
videoscale: fix gamma-decode option
We need to use the enum to configure the option now.
This commit is contained in:
parent
7447736be9
commit
3d733ad09f
1 changed files with 2 additions and 1 deletions
|
@ -610,7 +610,8 @@ gst_video_scale_set_info (GstVideoFilter * filter, GstCaps * in,
|
||||||
|
|
||||||
if (videoscale->gamma_decode) {
|
if (videoscale->gamma_decode) {
|
||||||
gst_structure_set (options,
|
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)
|
if (videoscale->convert)
|
||||||
|
|
Loading…
Reference in a new issue