From: Mathieu Duponchelle Date: Wed, 29 May 2019 16:27:09 +0000 (+0200) Subject: mpegtsmux: add SECTION comment X-Git-Tag: 1.19.3~507^2~3287 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02ded087a45faeada1d644c0e7acc9234bde4860;p=platform%2Fupstream%2Fgstreamer.git mpegtsmux: add SECTION comment We include an example for injecting sections in the transport stream in the documentation --- 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