Correctly generate GstVideoOverlayFormatFlags as flags type

This commit is contained in:
Sebastian Dröge 2018-10-04 11:38:19 +03:00
parent 2d1fa498c1
commit a273ab7944
2 changed files with 7 additions and 7 deletions

View file

@ -9411,7 +9411,7 @@ contained in the rectangles are not copied.</doc>
</return-value> </return-value>
</function> </function>
</record> </record>
<enumeration name="VideoOverlayFormatFlags" <bitfield name="VideoOverlayFormatFlags"
c:type="GstVideoOverlayFormatFlags"> c:type="GstVideoOverlayFormatFlags">
<doc xml:space="preserve">Overlay format flags.</doc> <doc xml:space="preserve">Overlay format flags.</doc>
<member name="none" <member name="none"
@ -9429,7 +9429,7 @@ contained in the rectangles are not copied.</doc>
c:identifier="GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA"> c:identifier="GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA">
<doc xml:space="preserve">a global-alpha value != 1 is set.</doc> <doc xml:space="preserve">a global-alpha value != 1 is set.</doc>
</member> </member>
</enumeration> </bitfield>
<record name="VideoOverlayInterface" <record name="VideoOverlayInterface"
c:type="GstVideoOverlayInterface" c:type="GstVideoOverlayInterface"
glib:is-gtype-struct-for="VideoOverlay"> glib:is-gtype-struct-for="VideoOverlay">

View file

@ -267,11 +267,6 @@ pub const GST_VIDEO_ORIENTATION_UR_LL: GstVideoOrientationMethod = 7;
pub const GST_VIDEO_ORIENTATION_AUTO: GstVideoOrientationMethod = 8; pub const GST_VIDEO_ORIENTATION_AUTO: GstVideoOrientationMethod = 8;
pub const GST_VIDEO_ORIENTATION_CUSTOM: GstVideoOrientationMethod = 9; pub const GST_VIDEO_ORIENTATION_CUSTOM: GstVideoOrientationMethod = 9;
pub type GstVideoOverlayFormatFlags = c_int;
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE: GstVideoOverlayFormatFlags = 0;
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA: GstVideoOverlayFormatFlags = 1;
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA: GstVideoOverlayFormatFlags = 2;
pub type GstVideoPrimariesMode = c_int; pub type GstVideoPrimariesMode = c_int;
pub const GST_VIDEO_PRIMARIES_MODE_NONE: GstVideoPrimariesMode = 0; pub const GST_VIDEO_PRIMARIES_MODE_NONE: GstVideoPrimariesMode = 0;
pub const GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY: GstVideoPrimariesMode = 1; pub const GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY: GstVideoPrimariesMode = 1;
@ -454,6 +449,11 @@ pub const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED: GstVideoMultiviewFlags = 16;
pub const GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT: GstVideoMultiviewFlags = 16384; pub const GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT: GstVideoMultiviewFlags = 16384;
pub const GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO: GstVideoMultiviewFlags = 32768; pub const GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO: GstVideoMultiviewFlags = 32768;
pub type GstVideoOverlayFormatFlags = c_uint;
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE: GstVideoOverlayFormatFlags = 0;
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA: GstVideoOverlayFormatFlags = 1;
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA: GstVideoOverlayFormatFlags = 2;
pub type GstVideoPackFlags = c_uint; pub type GstVideoPackFlags = c_uint;
pub const GST_VIDEO_PACK_FLAG_NONE: GstVideoPackFlags = 0; pub const GST_VIDEO_PACK_FLAG_NONE: GstVideoPackFlags = 0;
pub const GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE: GstVideoPackFlags = 1; pub const GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE: GstVideoPackFlags = 1;