summaryrefslogtreecommitdiff
path: root/gst/dataurisrc
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-25 11:56:33 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-25 11:56:33 +0100
commit828af084903b08715b05bd2b9896d60b921b87bd (patch)
treef4be120959be4a11be65f35c42864d65479f27a1 /gst/dataurisrc
parent926decbecb985fb39db26352dc06ef1070b12b1f (diff)
dataurisrc: Add docs and integrate into build system
Fixes again bug #596885.
Diffstat (limited to 'gst/dataurisrc')
-rw-r--r--gst/dataurisrc/gstdataurisrc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gst/dataurisrc/gstdataurisrc.c b/gst/dataurisrc/gstdataurisrc.c
index aaebe879a2..c8b2992ead 100644
--- a/gst/dataurisrc/gstdataurisrc.c
+++ b/gst/dataurisrc/gstdataurisrc.c
@@ -19,6 +19,19 @@
* Boston, MA 02111-1307, USA.
*/
+/**
+ * SECTION:element-dataurisrc
+ *
+ * dataurisrc handles data: URIs, see <ulink role="online-location" url="http://tools.ietf.org/html/rfc2397">RFC 2397</ulink> for more information.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-0.10 -v dataurisrc uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAfElEQVQ4je2MwQnAIAxFgziA4EnczIsO4MEROo/gzZWc4xdTbe1R6LGRR74heYS7iKElzfcMiRnt4hf8gk8EayB6luefue/HzlJfCA50XsNjYRxprZmenXNIKSGEsC+QUqK1hhgj521BzhnWWiilUGvdF5RS4L2HMQZCCJy8sHMm2TYdJAAAAABJRU5ErkJggg==" ! pngdec ! ffmpegcolorspace ! freeze ! ffmpegcolorspace ! autovideosink
+ * ]| This pipeline displays a small 16x16 PNG image from the data URI.
+ * </refsect2>
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif