From 5d5ab90e51869e915efb73281a0bcb925581478c Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sat, 23 Jul 2011 14:21:27 +0200 Subject: [PATCH] textoverlay: add example for feeding from stdin --- ext/pango/gsttextoverlay.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/pango/gsttextoverlay.c b/ext/pango/gsttextoverlay.c index 6d15d3f..cf61a8a 100644 --- a/ext/pango/gsttextoverlay.c +++ b/ext/pango/gsttextoverlay.c @@ -65,6 +65,12 @@ * Uh? What are you talking about? * I don'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). * * */ -- 2.7.4