From fad36407bbe52b0206f9fa3ced5f443dac7d446e Mon Sep 17 00:00:00 2001 From: jadarve Date: Thu, 27 Jun 2024 15:44:54 -0500 Subject: [PATCH] doc: update docstrings Part-of: --- .../gst-libs/gst/mpegts/gstmpegtsdescriptor.h | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/mpegts/gstmpegtsdescriptor.h b/subprojects/gst-plugins-bad/gst-libs/gst/mpegts/gstmpegtsdescriptor.h index 2d9884520c..673c3e937d 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/mpegts/gstmpegtsdescriptor.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/mpegts/gstmpegtsdescriptor.h @@ -509,6 +509,11 @@ struct _GstMpegtsMetadataDescriptor GST_MPEGTS_API GType gst_mpegts_metadata_descriptor_get_type(void); +/** + * + * + * Since: 1.26 + */ GST_MPEGTS_API GstMpegtsDescriptor *gst_mpegts_descriptor_from_metadata(const GstMpegtsMetadataDescriptor *metadata_descriptor); @@ -625,6 +630,9 @@ typedef struct _GstMpegtsMetadataPointerDescriptor */ struct _GstMpegtsMetadataPointerDescriptor { + /** + * Since: 1.26 + */ GstMpegtsMetadataApplicationFormat metadata_application_format; GstMpegtsMetadataFormat metadata_format; guint32 metadata_format_identifier; @@ -632,12 +640,27 @@ struct _GstMpegtsMetadataPointerDescriptor guint16 program_number; }; +/** + * Since: 1.26 + */ #define GST_TYPE_MPEGTS_METADATA_POINTER_DESCRIPTOR \ (gst_mpegts_metadata_pointer_descriptor_get_type()) +/** + * Since: 1.26 + */ GST_MPEGTS_API GType gst_mpegts_metadata_pointer_descriptor_get_type(void); +/** + * gst_mpegts_descriptor_from_metadata_pointer: + * + * @metadata_pointer_descriptor: a #GstMpegtsMetadataPointerDescriptor + * + * Returns: a #GstMpegtsDescriptor from the metadata pointer descriptor. + * + * Since 1.26 + */ GST_MPEGTS_API GstMpegtsDescriptor *gst_mpegts_descriptor_from_metadata_pointer(const GstMpegtsMetadataPointerDescriptor *metadata_pointer_descriptor);