[vlc-devel] [PATCH 1/9] audio_format: add extended attribute
Thomas Guillem
thomas at gllm.fr
Thu Oct 3 16:33:51 CEST 2019
Used to diferentiate DTS-HD from DTS and to detect that the AC-3 core is
extended.
Fixes ##22917
---
include/vlc_es.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/vlc_es.h b/include/vlc_es.h
index 6f604d6800..90fcaee412 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -80,6 +80,11 @@ typedef enum audio_channel_type_t
struct audio_format_t
{
vlc_fourcc_t i_format; /**< audio format fourcc */
+
+ /** Only valid for VLC_CODEC_DTS and VLC_CODEC_A52 i_formats: if true, the
+ * track has an optional DTD-HD or EAC3 extension */
+ bool extended;
+
unsigned int i_rate; /**< audio sample-rate */
/* Describes the channels configuration of the samples (ie. number of
--
2.20.1
More information about the vlc-devel
mailing list