mpegtsmux: add SECTION comment
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 29 May 2019 16:27:09 +0000 (18:27 +0200)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Thu, 30 May 2019 13:53:05 +0000 (13:53 +0000)
We include an example for injecting sections in the transport
stream in the documentation

docs/meson.build
gst/mpegtsmux/gstmpegtsmux.c

index cb4c692..955ad23 100644 (file)
@@ -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
index 7171602..c016953 100644 (file)
  *
  */
 
+/**
+ * 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 <string.h>