From 02ded087a45faeada1d644c0e7acc9234bde4860 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Wed, 29 May 2019 18:27:09 +0200 Subject: [PATCH] mpegtsmux: add SECTION comment We include an example for injecting sections in the transport stream in the documentation --- docs/meson.build | 1 + gst/mpegtsmux/gstmpegtsmux.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/docs/meson.build b/docs/meson.build index cb4c692..955ad23 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -179,5 +179,6 @@ foreach plugin_name: list_plugin_res.stdout().split(':') gst_c_source_filters: excludes, gst_order_generated_subpages: true, gst_plugin_name: plugin_name, + include_paths: join_paths(meson.current_source_dir(), '..'), )] endforeach diff --git a/gst/mpegtsmux/gstmpegtsmux.c b/gst/mpegtsmux/gstmpegtsmux.c index 7171602..c016953 100644 --- a/gst/mpegtsmux/gstmpegtsmux.c +++ b/gst/mpegtsmux/gstmpegtsmux.c @@ -82,6 +82,17 @@ * */ +/** + * SECTION: element-mpegtsmux + * @title: MPEG Transport Stream muxer + * + * mpegtsmux muxes different streams into an MPEG Transport stream + * + * SI sections can be specified through a custom event: + * + * {{ tests/examples/mpegts/ts-section-writer.c }} + */ + #include "gstmpegtsmux.h" #include -- 2.7.4