summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2017-09-07 15:42:02 -0700
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2017-09-07 15:49:47 -0700
commit88bd4e58add86b1c1b527640eefcda50e034abd5 (patch)
tree281bfdd7c7427a461e53396fef95b8c341d651a4
parentb71e9787b7a87d082a0dde8a450c84d9ce1ea5c6 (diff)
application-development: interfaces: improve formatting
-rw-r--r--markdown/application-development/advanced/interfaces.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/markdown/application-development/advanced/interfaces.md b/markdown/application-development/advanced/interfaces.md
index b75cf31..d253d1a 100644
--- a/markdown/application-development/advanced/interfaces.md
+++ b/markdown/application-development/advanced/interfaces.md
@@ -28,11 +28,15 @@ particular element implementation details, such as element names for
particular network source types and so on. Therefore, there is a URI
interface, which can be used to get the source element that supports a
particular URI type. There is no strict rule for URI naming, but in
-general we follow naming conventions that others use, too. For example,
-assuming you have the correct plugins installed, GStreamer supports
-“file:///\<path\>/\<file\>”, “http://\<host\>/\<path\>/\<file\>”,
-“mms://\<host\>/\<path\>/\<file\>”, and so on.
+general we follow naming conventions that others use too. For example,
+assuming you have the correct plugins installed, GStreamer supports:
+```
+file:///<path>/<file>
+http://<host>/<path>/<file>
+mms://<host>/<path>/<file>
+...
+```
In order to get the source or sink element supporting a particular URI,
use `gst_element_make_from_uri ()`, with the URI type being either
`GST_URI_SRC` for a source element, or `GST_URI_SINK` for a sink
@@ -55,10 +59,10 @@ xvimagesink and the Video4linux2 elements.
The Video Overlay interface was created to solve the problem of
embedding video streams in an application window. The application
-provides an window handle to the element implementing this interface to
-draw on, and the element will then use this window handle to draw on
+provides a window handle to an element implementing this interface,
+and the element will then use this window handle to draw on
rather than creating a new toplevel window. This is useful to embed
video in video players.
-This interface is implemented by, amongst others, the Video4linux2
-elements and by ximagesink, xvimagesink and sdlvideosink.
+This interface is implemented by, amongst others, the `Video4linux2`
+elements and by `ximagesink`, `xvimagesink` and `sdlvideosink`.