tags: Add new ContainerSpecificTrackId tag

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1393>
This commit is contained in:
Sebastian Dröge 2024-02-12 16:09:28 +02:00
parent b69fee9abe
commit 040a194700

View file

@ -322,6 +322,23 @@ impl_tag!(
); );
impl_tag!(PrivateData, Sample, TAG_PRIVATE_DATA, GST_TAG_PRIVATE_DATA); 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, || { mini_object_wrapper!(TagList, TagListRef, ffi::GstTagList, || {
ffi::gst_tag_list_get_type() ffi::gst_tag_list_get_type()
}); });