summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst-libs/gst/video/Makefile.am3
-rw-r--r--gst-libs/gst/video/meson.build1
-rw-r--r--gst-libs/gst/video/video-overlay-composition.h4
3 files changed, 5 insertions, 3 deletions
diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
index 2170a0457..0f8473d95 100644
--- a/gst-libs/gst/video/Makefile.am
+++ b/gst-libs/gst/video/Makefile.am
@@ -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 \
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_gen_prefix = gst_video
glib_gen_basename = video
diff --git a/gst-libs/gst/video/meson.build b/gst-libs/gst/video/meson.build
index c0b68d383..356a34525 100644
--- a/gst-libs/gst/video/meson.build
+++ b/gst-libs/gst/video/meson.build
@@ -80,6 +80,7 @@ video_mkenum_headers = [
'video-converter.h',
'video-dither.h',
'video-info.h',
+ 'video-overlay-composition.h',
'video-resampler.h',
'video-scaler.h',
'video-tile.h',
diff --git a/gst-libs/gst/video/video-overlay-composition.h b/gst-libs/gst/video/video-overlay-composition.h
index 5c9bf24fe..766eedbbe 100644
--- a/gst-libs/gst/video/video-overlay-composition.h
+++ b/gst-libs/gst/video/video-overlay-composition.h
@@ -87,8 +87,8 @@ gst_video_overlay_rectangle_unref (GstVideoOverlayRectangle * comp)
*/
typedef enum {
GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE = 0,
- GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA = 1,
- GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA = 2
+ GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA = (1<<0),
+ GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA = (1<<1)
} GstVideoOverlayFormatFlags;
#define GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION "meta:GstVideoOverlayComposition"