summaryrefslogtreecommitdiff
path: root/ext/lv2
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2011-07-18 14:53:31 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-07-20 13:11:53 -0400
commite8d24859ca5629198c581b570402e9a459839d7c (patch)
tree3850a621cea61362bdc7afb243f001e55104118c /ext/lv2
parent2b7e9abc59b4bb03a490797688348bb77b3d0e46 (diff)
downloadgstreamer-plugins-bad-e8d24859ca5629198c581b570402e9a459839d7c.tar.gz
Fix compilation for unused but not set
https://bugzilla.gnome.org/show_bug.cgi?id=654572
Diffstat (limited to 'ext/lv2')
-rw-r--r--ext/lv2/gstlv2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/lv2/gstlv2.c b/ext/lv2/gstlv2.c
index dd1df3df1..f31050fc6 100644
--- a/ext/lv2/gstlv2.c
+++ b/ext/lv2/gstlv2.c
@@ -622,7 +622,6 @@ gst_lv2_setup (GstSignalProcessor * gsp, GstCaps * caps)
GstLV2Group *group = NULL;
GstAudioChannelPosition *positions = NULL;
GstPad *pad;
- GstCaps *pad_caps;
gsp_class = GST_SIGNAL_PROCESSOR_GET_CLASS (gsp);
lv2 = (GstLV2 *) gsp;
@@ -655,7 +654,6 @@ gst_lv2_setup (GstSignalProcessor * gsp, GstCaps * caps)
slv2_value_as_string (group->symbol)))) {
GST_INFO_OBJECT (lv2, "set audio channel positions on sink pad %s",
slv2_value_as_string (group->symbol));
- pad_caps = GST_PAD_CAPS (pad);
s = gst_caps_get_structure (caps, 0);
gst_audio_set_channel_positions (s, positions);
gst_object_unref (pad);
@@ -674,7 +672,6 @@ gst_lv2_setup (GstSignalProcessor * gsp, GstCaps * caps)
slv2_value_as_string (group->symbol)))) {
GST_INFO_OBJECT (lv2, "set audio channel positions on src pad %s",
slv2_value_as_string (group->symbol));
- pad_caps = GST_PAD_CAPS (pad);
s = gst_caps_get_structure (caps, 0);
gst_audio_set_channel_positions (s, positions);
gst_object_unref (pad);