[vlc-commits] Fix support float in RF64
Jean-Baptiste Kempf
git at videolan.org
Fri Sep 20 22:30:48 CEST 2013
vlc/vlc-2.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 20 22:26:44 2013 +0200| [d33f6d72e47f186f7f9d5e855739d1f3813a8f25] | committer: Jean-Baptiste Kempf
Fix support float in RF64
(cherry picked from commit 1b034fc6481e53d95071ed35eab6fb040fb9f4cb)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=d33f6d72e47f186f7f9d5e855739d1f3813a8f25
---
include/vlc_codecs.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/vlc_codecs.h b/include/vlc_codecs.h
index f2b8daf..a47c583 100644
--- a/include/vlc_codecs.h
+++ b/include/vlc_codecs.h
@@ -306,6 +306,13 @@ static const GUID VLC_KSDATAFORMAT_SUBTYPE_PCM = {0xE923AABF, 0xCB58, 0x4471, {0
#define KSDATAFORMAT_SUBTYPE_PCM VLC_KSDATAFORMAT_SUBTYPE_PCM
#endif
+#ifndef _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT_
+#define _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT_ {0x00000003, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}}
+static const GUID VLC_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = {0x00000003, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
+#define KSDATAFORMAT_SUBTYPE_IEEE_FLOAT VLC_KSDATAFORMAT_SUBTYPE_PCM
+#endif
+
+
#ifndef _KSDATAFORMAT_SUBTYPE_UNKNOWN_
#define _KSDATAFORMAT_SUBTYPE_UNKNOWN_ {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}
static const GUID VLC_KSDATAFORMAT_SUBTYPE_UNKNOWN = {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}};
@@ -434,6 +441,7 @@ static const struct
sub_format_tag_to_fourcc[] =
{
{ _KSDATAFORMAT_SUBTYPE_PCM_, VLC_FOURCC( 'a', 'r', 'a', 'w' ), "PCM" },
+ { _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT_, VLC_FOURCC( 'a', 'f', 'l', 't' ), "Float PCM" },
{ _KSDATAFORMAT_SUBTYPE_UNKNOWN_, VLC_FOURCC( 'u', 'n', 'd', 'f' ), "Unknown" }
};
More information about the vlc-commits
mailing list