summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2017-10-02 14:28:26 -0700
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2017-10-03 14:35:48 -0700
commit0f71d2e4089aa764e6adc563ed2b2f7a33b214f9 (patch)
treef95d6afd4b6f8b4f1cd68150cc41f549686ed95f
parent88fcf303c5eb77a8aa3784db7128cd821e634872 (diff)
downloadgstreamer-plugins-bad-0f71d2e4089aa764e6adc563ed2b2f7a33b214f9.tar.gz
Use proper GtkDoc notation for NULL/FALSE/TRUE
-rw-r--r--gst-libs/gst/adaptivedemux/gstadaptivedemux.h10
-rw-r--r--gst/mpegtsmux/tsmux/tsmux.c2
-rw-r--r--gst/videosignal/gstsimplevideomarkdetect.c8
-rw-r--r--gst/videosignal/gstvideoanalyse.c2
-rw-r--r--tests/check/elements/adaptive_demux_engine.h2
5 files changed, 12 insertions, 12 deletions
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.h b/gst-libs/gst/adaptivedemux/gstadaptivedemux.h
index c507691a8..d59314c9b 100644
--- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.h
+++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.h
@@ -257,7 +257,7 @@ struct _GstAdaptiveDemuxClass
* Parse the manifest and add the created streams using
* gst_adaptive_demux_stream_new()
*
- * Returns: #TRUE if successful
+ * Returns: %TRUE if successful
*/
gboolean (*process_manifest) (GstAdaptiveDemux * demux, GstBuffer * manifest);
@@ -318,7 +318,7 @@ struct _GstAdaptiveDemuxClass
* The demuxer should seek on all its streams to the specified position
* in the seek event
*
- * Returns: #TRUE if successful
+ * Returns: %TRUE if successful
*/
gboolean (*seek) (GstAdaptiveDemux * demux, GstEvent * seek);
@@ -331,7 +331,7 @@ struct _GstAdaptiveDemuxClass
* this function is called to verify if there is a new period to be played
* in sequence.
*
- * Returns: #TRUE if there is another period
+ * Returns: %TRUE if there is another period
*/
gboolean (*has_next_period) (GstAdaptiveDemux * demux);
/**
@@ -380,7 +380,7 @@ struct _GstAdaptiveDemuxClass
* needs a caps change it should set the new caps using
* gst_adaptive_demux_stream_set_caps().
*
- * Returns: #TRUE if the stream changed bitrate, #FALSE otherwise
+ * Returns: %TRUE if the stream changed bitrate, %FALSE otherwise
*/
gboolean (*stream_select_bitrate) (GstAdaptiveDemuxStream * stream, guint64 bitrate);
/**
@@ -404,7 +404,7 @@ struct _GstAdaptiveDemuxClass
* of a new fragment. Can be used to reset/init internal state that is
* needed before each fragment, like decryption engines.
*
- * Returns: #TRUE if successful.
+ * Returns: %TRUE if successful.
*/
gboolean (*start_fragment) (GstAdaptiveDemux * demux, GstAdaptiveDemuxStream * stream);
/**
diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c
index 24ae7e2b8..e13ee5fac 100644
--- a/gst/mpegtsmux/tsmux/tsmux.c
+++ b/gst/mpegtsmux/tsmux/tsmux.c
@@ -267,7 +267,7 @@ tsmux_get_si_interval (TsMux * mux)
*
* Add a Service Information #GstMpegtsSection to the stream
*
- * Returns: #TRUE on success, #FALSE otherwise
+ * Returns: %TRUE on success, %FALSE otherwise
*/
gboolean
tsmux_add_mpegts_si_section (TsMux * mux, GstMpegtsSection * section)
diff --git a/gst/videosignal/gstsimplevideomarkdetect.c b/gst/videosignal/gstsimplevideomarkdetect.c
index d58cff2e2..112d5d886 100644
--- a/gst/videosignal/gstsimplevideomarkdetect.c
+++ b/gst/videosignal/gstsimplevideomarkdetect.c
@@ -34,12 +34,12 @@
* After the pattern has been found and the data pattern has been read, an
* element message called `GstSimpleVideoMarkDetect` will
* be posted on the bus. If the pattern is no longer found in the frame, the
- * same element message is posted with the have-pattern field set to #FALSE.
- * The message is only posted if the #GstSimpleVideoMarkDetect:message property is #TRUE.
+ * same element message is posted with the have-pattern field set to %FALSE.
+ * The message is only posted if the #GstSimpleVideoMarkDetect:message property is %TRUE.
*
* The message's structure contains these fields:
*
- * * #gboolean`have-pattern`: if the pattern was found. This field will be set to #TRUE for as long as
+ * * #gboolean`have-pattern`: if the pattern was found. This field will be set to %TRUE for as long as
* the pattern was found in the frame and set to FALSE for the first frame
* that does not contain the pattern anymore.
*
@@ -51,7 +51,7 @@
*
* * #GstClockTime `duration`: the duration of the buffer.
*
- * * #guint64 `data`: the data-pattern found after the pattern or 0 when have-signal is #FALSE.
+ * * #guint64 `data`: the data-pattern found after the pattern or 0 when have-signal is %FALSE.
*
* ## Example launch line
* |[
diff --git a/gst/videosignal/gstvideoanalyse.c b/gst/videosignal/gstvideoanalyse.c
index 2723c14fd..ab51f525f 100644
--- a/gst/videosignal/gstvideoanalyse.c
+++ b/gst/videosignal/gstvideoanalyse.c
@@ -21,7 +21,7 @@
* @title: videoanalyse
*
* This plugin analyses every video frame and if the #GstVideoAnalyse:message
- * property is #TRUE, posts an element message with video statistics called
+ * property is %TRUE, posts an element message with video statistics called
* `GstVideoAnalyse`.
*
* The message's structure contains these fields:
diff --git a/tests/check/elements/adaptive_demux_engine.h b/tests/check/elements/adaptive_demux_engine.h
index 43bbc4cfa..b81161c91 100644
--- a/tests/check/elements/adaptive_demux_engine.h
+++ b/tests/check/elements/adaptive_demux_engine.h
@@ -73,7 +73,7 @@ typedef struct _GstAdaptiveDemuxTestCallbacks
* @stream: #GstAdaptiveDemuxTestOutputStream
* @buffer: the #GstBuffer that was recevied by #GstAppSink
* @user_data: the user_data passed to gst_adaptive_demux_test_run()
- * Returns: #TRUE to continue processing, #FALSE to cause EOS
+ * Returns: %TRUE to continue processing, %FALSE to cause EOS
*
* Can be used by a test to perform additional operations (eg validate
* output data)