From c67ac844ed283fb98ac660b6347e841c379eb6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 18 Nov 2024 11:00:36 +0100 Subject: [PATCH] zbar: fix documentation Fix some typos and markdown cleanup. Part-of: --- subprojects/gst-plugins-bad/ext/zbar/gstzbar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/subprojects/gst-plugins-bad/ext/zbar/gstzbar.c b/subprojects/gst-plugins-bad/ext/zbar/gstzbar.c index 483df2ef9e..89843cae34 100644 --- a/subprojects/gst-plugins-bad/ext/zbar/gstzbar.c +++ b/subprojects/gst-plugins-bad/ext/zbar/gstzbar.c @@ -22,26 +22,26 @@ * @title: zbar * * Detect bar codes in the video streams and send them as element messages to - * the #GstBus if .#GstZBar:message property is %TRUE. - * If the .#GstZBar:attach-frame property is %TRUE, the posted barcode message + * the #GstBus if #GstZBar:message property is %TRUE. + * If the #GstZBar:attach-frame property is %TRUE, the posted barcode message * includes a sample of the frame where the barcode was detected (Since 1.6). * - * The element generate messages named`barcode`. The structure contains these fields: + * The element generates messages named `barcode`. The structure contains these fields: * * * #GstClockTime `timestamp`: the timestamp of the buffer that triggered the message. * * gchar * `type`: the symbol type. * * gchar * `symbol`: the detected bar code data. * * gint `quality`: an unscaled, relative quantity: larger values are better than smaller * values. - * * GstSample `frame`: the frame in which the barcode message was detected, if - * the .#GstZBar:attach-frame property was set to %TRUE (Since 1.6) + * * #GstSample `frame`: the frame in which the barcode message was detected, if + * the #GstZBar:attach-frame property was set to %TRUE (Since 1.6) * * ## Example launch lines * |[ * gst-launch-1.0 -m v4l2src ! videoconvert ! zbar ! videoconvert ! xvimagesink * ]| This pipeline will detect barcodes and send them as messages. * |[ - * gst-launch-1.0 -m v4l2src ! tee name=t ! queue ! videoconvert ! zbar ! fakesink t. ! queue ! xvimagesink + * gst-launch-1.0 -m v4l2src ! tee name=t ! queue ! videoconvert ! zbar ! fakesink t. ! queue ! videoconvert ! xvimagesink * ]| Same as above, but running the filter on a branch to keep the display in color * */