diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-09-06 13:16:27 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-09-06 13:16:27 +0200 |
commit | e204c5934c35e5af1be7afb70477f10a7b0cc2ac (patch) | |
tree | fcd4422f2fbf382ebf9f62b4f6d6c2da2467c9e9 /gst/spectrum | |
parent | 24df106272eeeb6eec8ceb77afb44457baa829d9 (diff) |
-good: port to new audio caps
Diffstat (limited to 'gst/spectrum')
-rw-r--r-- | gst/spectrum/gstspectrum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/spectrum/gstspectrum.c b/gst/spectrum/gstspectrum.c index fbbdf36c9..f2d819306 100644 --- a/gst/spectrum/gstspectrum.c +++ b/gst/spectrum/gstspectrum.c @@ -111,9 +111,9 @@ GST_DEBUG_CATEGORY_STATIC (gst_spectrum_debug); /* elementfactory information */ #if G_BYTE_ORDER == G_LITTLE_ENDIAN -# define FORMATS "{ S16_LE, S24_3LE, S32_LE, F32_LE, F64_LE }" +# define FORMATS "{ S16LE, S24LE, S32LE, F32LE, F64LE }" #else -# define FORMATS "{ S16_BE, S24_3BE, S32_BE, F32_BE, F64_BE }" +# define FORMATS "{ S16BE, S24BE, S32BE, F32BE, F64BE }" #endif #define ALLOWED_CAPS \ @@ -626,7 +626,7 @@ gst_spectrum_setup (GstAudioFilter * base, const GstAudioInfo * info) input_data = multi_channel ? input_data_int16_max : input_data_mixed_int16_max; break; - case GST_AUDIO_FORMAT_S24_3: + case GST_AUDIO_FORMAT_S24: input_data = multi_channel ? input_data_int24_max : input_data_mixed_int24_max; break; |