mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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) {
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue