video-overlay-composition: Correctly mark GstVideoOverlayFormatFlags as flags
And register a GType for it.
This commit is contained in:
parent
d9992ba1b7
commit
d09eccc06b
@ -4,7 +4,8 @@ include $(top_srcdir)/common/orc.mak
|
|||||||
|
|
||||||
glib_enum_headers = video.h video-format.h video-color.h video-info.h video-dither.h \
|
glib_enum_headers = video.h video-format.h video-color.h video-info.h video-dither.h \
|
||||||
colorbalance.h navigation.h video-chroma.h video-tile.h video-converter.h \
|
colorbalance.h navigation.h video-chroma.h video-tile.h video-converter.h \
|
||||||
video-resampler.h video-frame.h video-scaler.h video-anc.h
|
video-resampler.h video-frame.h video-scaler.h video-anc.h \
|
||||||
|
video-overlay-composition.h
|
||||||
glib_enum_define = GST_VIDEO
|
glib_enum_define = GST_VIDEO
|
||||||
glib_gen_prefix = gst_video
|
glib_gen_prefix = gst_video
|
||||||
glib_gen_basename = video
|
glib_gen_basename = video
|
||||||
|
@ -80,6 +80,7 @@ video_mkenum_headers = [
|
|||||||
'video-converter.h',
|
'video-converter.h',
|
||||||
'video-dither.h',
|
'video-dither.h',
|
||||||
'video-info.h',
|
'video-info.h',
|
||||||
|
'video-overlay-composition.h',
|
||||||
'video-resampler.h',
|
'video-resampler.h',
|
||||||
'video-scaler.h',
|
'video-scaler.h',
|
||||||
'video-tile.h',
|
'video-tile.h',
|
||||||
|
@ -87,8 +87,8 @@ gst_video_overlay_rectangle_unref (GstVideoOverlayRectangle * comp)
|
|||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE = 0,
|
GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE = 0,
|
||||||
GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA = 1,
|
GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA = (1<<0),
|
||||||
GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA = 2
|
GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA = (1<<1)
|
||||||
} GstVideoOverlayFormatFlags;
|
} GstVideoOverlayFormatFlags;
|
||||||
|
|
||||||
#define GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION "meta:GstVideoOverlayComposition"
|
#define GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION "meta:GstVideoOverlayComposition"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user