video-converter: Change some implicit string enums to real enums
authorVivia Nikolaidou <vivia@ahiru.eu>
Fri, 8 May 2015 11:57:03 +0000 (14:57 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 8 May 2015 13:13:54 +0000 (15:13 +0200)
commitc9cfd0196f2c104091f637e9ebf7a1735bd7c6ab
tree0d0204eee0c5014a69c783a753980cc615f6ab8c
parent0c43005f5496cfc11c46db8c6ddc714d4c7e321a
video-converter: Change some implicit string enums to real enums

GST_VIDEO_CONVERTER_OPT_ALPHA_MODE, GST_VIDEO_CONVERTER_OPT_CHROMA_MODE,
GST_VIDEO_CONVERTER_OPT_MATRIX_MODE, GST_VIDEO_CONVERTER_OPT_GAMMA_MODE and
GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE were G_TYPE_STRING with only a few valid
options. Changed those to real enums.

https://bugzilla.gnome.org/show_bug.cgi?id=749104
gst-libs/gst/video/video-converter.c
gst-libs/gst/video/video-converter.h
gst-libs/gst/video/video-resampler.h
gst/videoscale/gstvideoscale.c