summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2024-04-01 14:33:05 +0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2024-04-08 09:34:12 +0000
commit18548cdd761594542dbf1bd34f92fb675d9b158e (patch)
treefa3725367ea7b0750555aeb07a5ca525131899cb
parent32e077cb679a50ada4631b7a884b8aa5bdb1f7d4 (diff)
wavpackparse: Explicitly handle ID_WVX_NEW_BITSTREAM
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6564>
-rw-r--r--subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.c1
-rw-r--r--subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.c b/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.c
index 16b9b4e58e..5e5abeb6e1 100644
--- a/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.c
+++ b/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.c
@@ -337,6 +337,7 @@ gst_wavpack_parse_frame_metadata (GstWavpackParse * parse, GstBuffer * buf,
break;
case ID_WV_BITSTREAM:
case ID_WVX_BITSTREAM:
+ case ID_WVX_NEW_BITSTREAM:
break;
case ID_SAMPLE_RATE:
if (size == 3) {
diff --git a/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.h b/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.h
index 30325aa26b..848d4de5bf 100644
--- a/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.h
+++ b/subprojects/gst-plugins-good/gst/audioparsers/gstwavpackparse.h
@@ -66,6 +66,7 @@ G_BEGIN_DECLS
#define ID_CONFIG_BLOCK (ID_OPTIONAL_DATA | 0x5)
#define ID_MD5_CHECKSUM (ID_OPTIONAL_DATA | 0x6)
#define ID_SAMPLE_RATE (ID_OPTIONAL_DATA | 0x7)
+#define ID_WVX_NEW_BITSTREAM (ID_OPTIONAL_DATA | ID_WVX_BITSTREAM)
#define FLAG_FINAL_BLOCK (1 << 12)