mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
video-overlay-composition: Correctly mark GstVideoOverlayFormatFlags as flags
And register a GType for it.
This commit is contained in:
parent
d9992ba1b7
commit
d09eccc06b
3 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue