diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-05-26 10:28:47 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-05-26 10:28:47 +0000 |
commit | 1c8276c9de90bf4b05e51ddb439c9833115adc85 (patch) | |
tree | a425823be4219c5492022dedc76e7798b4630c0f /gst/interleave/deinterleave.c | |
parent | 987a903d893d8e5408262717e14319dd56f81cce (diff) | |
download | gst-plugins-bad-1c8276c9de90bf4b05e51ddb439c9833115adc85.tar.gz gst-plugins-bad-1c8276c9de90bf4b05e51ddb439c9833115adc85.tar.bz2 gst-plugins-bad-1c8276c9de90bf4b05e51ddb439c9833115adc85.zip |
gst/interleave/deinterleave.c: Add another example launch line.
Original commit message from CVS:
* gst/interleave/deinterleave.c:
Add another example launch line.
* gst/interleave/interleave.c: (interleave_24),
(gst_interleave_finalize), (gst_interleave_base_init),
(gst_interleave_class_init), (gst_interleave_init),
(gst_interleave_request_new_pad), (gst_interleave_release_pad),
(gst_interleave_change_state), (__remove_channels),
(__set_channels), (gst_interleave_sink_getcaps),
(gst_interleave_set_process_function),
(gst_interleave_sink_setcaps), (gst_interleave_sink_event),
(gst_interleave_src_query_duration), (gst_interleave_src_query),
(forward_event_func), (forward_event), (gst_interleave_src_event),
(gst_interleave_collected):
* gst/interleave/interleave.h:
Major rewrite of interleave using GstCollectpads. This new version
also supports almost all raw audio formats and has better caps
negotiation. Fixes bug #506594.
Also update docs and add some more examples.
* tests/check/elements/interleave.c: (interleave_chain_func),
(GST_START_TEST), (src_handoff_float32), (sink_handoff_float32),
(interleave_suite):
Add some more extensive unit tests for interleave.
Diffstat (limited to 'gst/interleave/deinterleave.c')
-rw-r--r-- | gst/interleave/deinterleave.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/interleave/deinterleave.c b/gst/interleave/deinterleave.c index 2ba67735..e8a10de7 100644 --- a/gst/interleave/deinterleave.c +++ b/gst/interleave/deinterleave.c @@ -54,6 +54,13 @@ * </programlisting> * Decodes an MP3 file and encodes the left and right channel into separate Ogg Vorbis files. * </para> + * <para> + * <programlisting> + * gst-launch-0.10 filesrc location=file.mp3 ! decodebin ! audioconvert ! "audio/x-raw-int,channels=2" ! deinterleave name=d interleave name=i ! audioconvert ! wavenc ! filesink location=test.wav d.src0 ! queue ! audioconvert ! i.sink1 d.src1 ! queue ! audioconvert ! i.sink0 + * </programlisting> + * Decodes and deinterleaves a Stereo MP3 file into separate channels and then interleaves the channels + * again to a WAV file with the channel with the channels exchanged. + * </para> * </refsect2> */ |