From 36269458f23ffdd8db899b3dcc4d9d02c79a5825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 12 Feb 2024 16:09:28 +0200 Subject: [PATCH] tags: Add new `ContainerSpecificTrackId` tag Part-of: --- gstreamer/src/tags.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gstreamer/src/tags.rs b/gstreamer/src/tags.rs index b7be1b070..deb9e3e3e 100644 --- a/gstreamer/src/tags.rs +++ b/gstreamer/src/tags.rs @@ -322,6 +322,23 @@ impl_tag!( ); impl_tag!(PrivateData, Sample, TAG_PRIVATE_DATA, GST_TAG_PRIVATE_DATA); +#[cfg(feature = "v1_24")] +#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] +mod v1_24 { + use super::*; + + impl_tag!( + ContainerSpecificTrackId, + &'a str, + TAG_CONTAINER_SPECIFIC_TRACK_ID, + GST_TAG_CONTAINER_SPECIFIC_TRACK_ID + ); +} + +#[cfg(feature = "v1_24")] +#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] +pub use v1_24::ContainerSpecificTrackId; + mini_object_wrapper!(TagList, TagListRef, ffi::GstTagList, || { ffi::gst_tag_list_get_type() });