From 8f548ae2f797fcb5fe49cffd238515dc890ceb1b Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Mon, 20 Mar 2017 11:15:08 -0700 Subject: [PATCH] design: draft-klass.md: fix missing markup & reformat Additionally: - Fix class dumper cmd line example - Other improvements --- markdown/design/draft-klass.md | 105 ++++++++++++++++++--------------- 1 file changed, 56 insertions(+), 49 deletions(-) diff --git a/markdown/design/draft-klass.md b/markdown/design/draft-klass.md index 5bd76e4b07..f442ae464f 100644 --- a/markdown/design/draft-klass.md +++ b/markdown/design/draft-klass.md @@ -14,143 +14,150 @@ The topic of defining the klass of elements should be based on use cases. A list of classes that are used in a installation can be generated -using: gst-inspect-1.0 -a | grep -ho Class:.\* | cut -c8- | sed -"s/\\//\\\\n/g" | sort | uniq +using: + +``` +gst-inspect-1.0 -a | grep -ho Klass.\* | cut -c8- | sort | uniq +``` ## Proposal -The GstElementDetails contains a field named klass that is a pointer to +The `GstElementDetails` contains a field named klass that is a pointer to a string describing the element type. In this document we describe the format and contents of the string. Elements should adhere to this specification although that is not enforced to allow for wild (application specific) customisation. -###string format +### String format - ['/'['/'[/]*[/]* +``` -4\) examples: +### Examples: apedemux : Extracter/Metadata audiotestsrc : Source/Audio