wavparse: handle query in any parse state
authorStéphane Cerveau <scerveau@collabora.com>
Fri, 18 Mar 2022 14:20:49 +0000 (15:20 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 22 Mar 2022 16:25:35 +0000 (16:25 +0000)
commit1170ab3c296d6e5b01367f761814832ccbf49775
tree2564b58eb6bb9f45adb4c060293e6cd6751cf781
parent074f7c2e4e087e4b5e6746435295b7eb7389ab43
wavparse: handle query in any parse state

In order to create the stream_id, we need to
pass the query to the default query handler.

If the parse state is different from GST_WAVPARSE_DATA
the query should be passed to the default query
handler.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1987>
subprojects/gst-plugins-good/gst/wavparse/gstwavparse.c
subprojects/gst-plugins-good/tests/check/elements/wavparse.c