summaryrefslogtreecommitdiffstats
path: root/gst/interleave/interleave.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-06-02 12:42:14 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-06-02 12:42:14 +0000
commit35a5e9d33f223a105515558f39a50bce57380e26 (patch)
tree5fdf44866a352417762d490485f9af8884d594c6 /gst/interleave/interleave.h
parent02754252128716aca13ed1bde505a1fc9efa4e67 (diff)
gst/interleave/interleave.*: Allow setting channel positions via a property and allow using the channel positions on ...
Original commit message from CVS: * gst/interleave/interleave.c: (gst_interleave_pad_get_type), (gst_interleave_finalize), (gst_audio_check_channel_positions), (gst_interleave_set_channel_positions), (gst_interleave_class_init), (gst_interleave_init), (gst_interleave_set_property), (gst_interleave_get_property), (gst_interleave_request_new_pad), (gst_interleave_release_pad), (gst_interleave_sink_setcaps), (gst_interleave_src_query_duration), (gst_interleave_src_query_latency), (gst_interleave_collected): * gst/interleave/interleave.h: Allow setting channel positions via a property and allow using the channel positions on the input as the channel positions of the output. Fix some broken logic and memory leaks. * tests/check/Makefile.am: * tests/check/elements/interleave.c: (src_handoff_float32), (sink_handoff_float32), (GST_START_TEST), (interleave_suite): Add unit tests for checking correct handling of channel positions.
Diffstat (limited to 'gst/interleave/interleave.h')
-rw-r--r--gst/interleave/interleave.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/interleave/interleave.h b/gst/interleave/interleave.h
index 65006954..c98cc43b 100644
--- a/gst/interleave/interleave.h
+++ b/gst/interleave/interleave.h
@@ -55,6 +55,10 @@ struct _GstInterleave
gint rate;
gint width;
+ GValueArray *channel_positions;
+ GValueArray *input_channel_positions;
+ gboolean channel_positions_from_input;
+
GstCaps *sinkcaps;
GstClockTime timestamp;