diff options
Diffstat (limited to 'ext/wavpack')
-rw-r--r-- | ext/wavpack/gstwavpackdec.c | 11 | ||||
-rw-r--r-- | ext/wavpack/gstwavpackparse.c | 14 |
2 files changed, 12 insertions, 13 deletions
diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c index a7df49c6..50dcc792 100644 --- a/ext/wavpack/gstwavpackdec.c +++ b/ext/wavpack/gstwavpackdec.c @@ -127,12 +127,11 @@ gst_wavpack_dec_wvclink (GstPad * pad, GstPad * peer) static void gst_wavpack_dec_base_init (gpointer klass) { - static GstElementDetails plugin_details = { - "WAVPACK decoder", - "Codec/Decoder/Audio", - "Decode Wavpack audio data", - "Arwed v. Merkatz <v.merkatz@gmx.net>" - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("WavePack audio decoder", + "Codec/Decoder/Audio", + "Decode Wavpack audio data", + "Arwed v. Merkatz <v.merkatz@gmx.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c index f00e337e..59ef81fa 100644 --- a/ext/wavpack/gstwavpackparse.c +++ b/ext/wavpack/gstwavpackparse.c @@ -72,12 +72,11 @@ GST_BOILERPLATE (GstWavpackParse, gst_wavpack_parse, GstElement, static void gst_wavpack_parse_base_init (gpointer klass) { - static GstElementDetails plugin_details = { - "Wavpack file parser", - "Codec/Demuxer/Audio", - "Parses Wavpack files", - "Arwed v. Merkatz <v.merkatz@gmx.net>" - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("WavePack parser", + "Codec/Demuxer/Audio", + "Parses Wavpack files", + "Arwed v. Merkatz <v.merkatz@gmx.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, @@ -332,7 +331,8 @@ gst_wavpack_parse_scan_to_find_sample (GstWavpackParse * parse, /* now scan forward until we find the chunk we're looking for or hit EOS */ do { WavpackHeader header = { {0,} - , 0, }; + , 0, + }; GstBuffer *buf; buf = gst_wavpack_parse_pull_buffer (parse, off, sizeof (WavpackHeader), |