From: Andy Wingo Date: Mon, 3 Apr 2006 08:28:58 +0000 (+0000) Subject: ext/vorbis/vorbisparse.c: Add some docs and a copyright. X-Git-Tag: 1.19.3~511^2~12032 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f29a7eae5164de2963ff1954c63b3c95e532755;p=platform%2Fupstream%2Fgstreamer.git ext/vorbis/vorbisparse.c: Add some docs and a copyright. Original commit message from CVS: 2006-04-03 Andy Wingo * ext/vorbis/vorbisparse.c: Add some docs and a copyright. --- diff --git a/ChangeLog b/ChangeLog index 05610cc..bce9af1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-04-03 Andy Wingo + + * ext/vorbis/vorbisparse.c: Add some docs and a copyright. + 2006-04-01 Thomas Vander Stichele * gst/audiotestsrc/gstaudiotestsrc.c: diff --git a/ext/vorbis/vorbisparse.c b/ext/vorbis/vorbisparse.c index 525d474..026ecd6 100644 --- a/ext/vorbis/vorbisparse.c +++ b/ext/vorbis/vorbisparse.c @@ -1,5 +1,6 @@ /* GStreamer * Copyright (C) <2004> Thomas Vander Stichele + * Copyright (C) 2006 Andy Wingo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -20,7 +21,7 @@ /** * SECTION:element-vorbisparse * @short_description: parses vorbis streams - * @see_also: vorbisdec, oggdemux + * @see_also: vorbisdec, oggdemux, theoraparse * * * @@ -30,16 +31,31 @@ * clients, each client has to receive the streamheaders first before they can * consume the vorbis packets. * + * + * This element also makes sure that the buffers that it pushes out are properly + * timestamped and that their offset and offset_end are set. The buffers that + * vorbisparse outputs have all of the metadata that oggmux expects to receive, + * which allows you to (for example) remux an ogg/vorbis file. + * * Example pipelines * * * gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisparse ! fakesink * - * This pipeline shows that the streamheader is set in the caps. + * This pipeline shows that the streamheader is set in the caps, and that each + * buffer has the timestamp, duration, offset, and offset_end set. + * + * + * + * gst-launch filesrc location=sine.ogg ! oggdemux ! vorbisparse \ + * ! oggmux ! filesink location=sine-remuxed.ogg + * + * This pipeline shows remuxing. sine-remuxed.ogg might not be exactly the same + * as sine.ogg, but they should produce exactly the same decoded data. * * * - * Last reviewed on 2006-03-01 (0.10.4) + * Last reviewed on 2006-04-01 (0.10.4.1) */ #ifdef HAVE_CONFIG_H