textoverlay: add example for feeding from stdin
authorStefan Sauer <ensonic@google.com>
Sat, 23 Jul 2011 12:21:27 +0000 (14:21 +0200)
committerStefan Sauer <ensonic@google.com>
Sat, 23 Jul 2011 12:22:03 +0000 (14:22 +0200)
ext/pango/gsttextoverlay.c

index 6d15d3f..cf61a8a 100644 (file)
  * Uh? What are you talking about?
  * I don&apos;t understand  (18-62s)
  * ]|
+ * one can also feed live text into the element
+ * |[
+ * gst-launch fdsrc fd=0 ! text/plain ! txt. videotestsrc ! \
+ * textoverlay  name=txt shaded-background=yes font-desc="Serif 40" wait-text=false ! \
+ * xvimagesink
+ * ]| This shows new text as entered on the terminal (stdin).
  * </para>
  * </refsect2>
  */