From debbc752725967d328aff824d724f4b4309715a9 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Mon, 5 Mar 2012 12:26:29 +0100 Subject: [PATCH] audioencoder: stop proxying some old-style 0.10 raw audio caps fields --- gst-libs/gst/audio/gstaudioencoder.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gst-libs/gst/audio/gstaudioencoder.c b/gst-libs/gst/audio/gstaudioencoder.c index d93ce839cc..07c96ded08 100644 --- a/gst-libs/gst/audio/gstaudioencoder.c +++ b/gst-libs/gst/audio/gstaudioencoder.c @@ -1214,14 +1214,6 @@ gst_audio_encoder_proxy_getcaps (GstAudioEncoder * enc, GstCaps * caps) gst_structure_set_value (s, "channels", val); /* following might also make sense for some encoded formats, * e.g. wavpack */ - if ((val = gst_structure_get_value (allowed_s, "width"))) - gst_structure_set_value (s, "width", val); - if ((val = gst_structure_get_value (allowed_s, "depth"))) - gst_structure_set_value (s, "depth", val); - if ((val = gst_structure_get_value (allowed_s, "endianness"))) - gst_structure_set_value (s, "endianness", val); - if ((val = gst_structure_get_value (allowed_s, "signed"))) - gst_structure_set_value (s, "signed", val); if ((val = gst_structure_get_value (allowed_s, "channel-mask"))) gst_structure_set_value (s, "channel-mask", val);