mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
wavparse: Update for libgstriff API changes
Still needs to handle raw audio channel reordering
This commit is contained in:
parent
30b83b167a
commit
19788be6b1
1 changed files with 4 additions and 2 deletions
|
@ -516,7 +516,8 @@ gst_wavparse_fmt (GstWavParse * wav)
|
|||
|
||||
/* Note: gst_riff_create_audio_caps might need to fix values in
|
||||
* the header header depending on the format, so call it first */
|
||||
caps = gst_riff_create_audio_caps (header->format, NULL, header, NULL);
|
||||
/* FIXME: Need to handle the channel reorder map */
|
||||
caps = gst_riff_create_audio_caps (header->format, NULL, header, NULL, NULL);
|
||||
g_free (header);
|
||||
|
||||
if (caps == NULL)
|
||||
|
@ -1179,8 +1180,9 @@ gst_wavparse_stream_headers (GstWavParse * wav)
|
|||
|
||||
/* Note: gst_riff_create_audio_caps might need to fix values in
|
||||
* the header header depending on the format, so call it first */
|
||||
/* FIXME: Need to handle the channel reorder map */
|
||||
caps = gst_riff_create_audio_caps (header->format, NULL, header, extra,
|
||||
NULL, &codec_name);
|
||||
NULL, &codec_name, NULL);
|
||||
|
||||
if (extra)
|
||||
gst_buffer_unref (extra);
|
||||
|
|
Loading…
Reference in a new issue