forked from mirrors/gstreamer-rs
tags: Add new ContainerSpecificTrackId
tag
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1394>
This commit is contained in:
parent
aa4e0d10c8
commit
36269458f2
1 changed files with 17 additions and 0 deletions
|
@ -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()
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue