From ed52aa4949339123e81c530cebdb91ee28529479 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 26 Jun 2008 15:52:40 +0000 Subject: Add documentation for YUV4MPEG2 encoder element. Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * gst/y4m/gsty4mencode.c: Add documentation for YUV4MPEG2 encoder element. --- ChangeLog | 8 ++++++++ docs/plugins/Makefile.am | 1 + docs/plugins/gst-plugins-bad-plugins-docs.sgml | 1 + docs/plugins/gst-plugins-bad-plugins-sections.txt | 12 ++++++++++++ gst/y4m/gsty4mencode.c | 21 ++++++++++++++++++++- 5 files changed, 42 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 91fe13f4..9540d167 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-06-26 Mark Nauwelaerts + + * docs/plugins/Makefile.am: + * docs/plugins/gst-plugins-bad-plugins-docs.sgml: + * docs/plugins/gst-plugins-bad-plugins-sections.txt: + * gst/y4m/gsty4mencode.c: + Add documentation for YUV4MPEG2 encoder element. + 2008-06-25 Edward Hervey * gst/deinterlace2/tvtime/tomsmocomp/tomsmocompmacros.h: diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index 7476ac64..2076f94b 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -138,6 +138,7 @@ EXTRA_HFILES = \ $(top_srcdir)/gst/videosignal/gstvideoanalyse.h \ $(top_srcdir)/gst/videosignal/gstvideodetect.h \ $(top_srcdir)/gst/videosignal/gstvideomark.h \ + $(top_srcdir)/gst/y4m/gsty4mencode.h \ $(top_srcdir)/sys/dvb/gstdvbsrc.h # Images to copy into HTML directory. diff --git a/docs/plugins/gst-plugins-bad-plugins-docs.sgml b/docs/plugins/gst-plugins-bad-plugins-docs.sgml index b6635826..ade2b13c 100644 --- a/docs/plugins/gst-plugins-bad-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-bad-plugins-docs.sgml @@ -55,6 +55,7 @@ + diff --git a/docs/plugins/gst-plugins-bad-plugins-sections.txt b/docs/plugins/gst-plugins-bad-plugins-sections.txt index be47b636..efc25243 100644 --- a/docs/plugins/gst-plugins-bad-plugins-sections.txt +++ b/docs/plugins/gst-plugins-bad-plugins-sections.txt @@ -703,3 +703,15 @@ GST_IS_WILDMIDI_CLASS GST_TYPE_WILDMIDI +
+element-y4menc +y4menc +GstY4mEncode + +GstY4mEncodeClass +GST_Y4M_ENCODE +GST_Y4M_ENCODE_CLASS +GST_IS_Y4M_ENCODE +GST_IS_Y4M_ENCODE_CLASS +GST_TYPE_Y4M_ENCODE +
diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c index dc432f8d..dc218643 100644 --- a/gst/y4m/gsty4mencode.c +++ b/gst/y4m/gsty4mencode.c @@ -1,6 +1,6 @@ /* GStreamer * Copyright (C) <1999> Erik Walthinsen - * Copyright (C) <2006> Mark Nauwelaerts + * Copyright (C) <2006> Mark Nauwelaerts * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -17,6 +17,25 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-y4menc + * + * + * + * Creates a YU4MPEG2 raw video stream as defined by the mjpegtools project. + * + * Example launch line + * + * (write everything in one line, without the backslash characters) + * + * gst-launch-0.10 videotestsrc num-buffers=250 \ + * ! 'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1' \ + * ! y4menc ! filesink location=test.yuv + * + * + * + * + */ /* see mjpegtools/yuv4mpeg.h for yuv4mpeg format */ -- cgit v1.2.1