From 1877d7933ec44b392291c3c1ddd220e8dc66758d Mon Sep 17 00:00:00 2001 From: Stephen Hutchinson Date: Thu, 14 Feb 2013 07:23:26 -0500 Subject: demux_mkv: Support playing Opus streams in Matroska FFmpeg recently changed how it writes Opus-in-Matroska to match the A_OPUS/EXPERIMENTAL name that mkvmerge uses, with the caveat that things will change and compatibility with old files can get worked out when the spec is finalized. This adds both A_OPUS and A_OPUS/EXPERIMENTAL so that *hopefully* it can play both the newer files that use A_OPUS/EXPERIMENTAL, and older ones muxed by FFmpeg that were simply A_OPUS, since this is also what FFmpeg seems to be doing to handle the situation. --- demux/matroska.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demux/matroska.h') diff --git a/demux/matroska.h b/demux/matroska.h index 41ccfe2b26..2d424e2a40 100644 --- a/demux/matroska.h +++ b/demux/matroska.h @@ -41,6 +41,8 @@ #define MKV_A_PCM "A_PCM/INT/LIT" #define MKV_A_PCM_BE "A_PCM/INT/BIG" #define MKV_A_VORBIS "A_VORBIS" +#define MKV_A_OPUS "A_OPUS" +#define MKV_A_OPUS_EXP "A_OPUS/EXPERIMENTAL" #define MKV_A_ACM "A_MS/ACM" #define MKV_A_REAL28 "A_REAL/28_8" #define MKV_A_REALATRC "A_REAL/ATRC" -- cgit v1.2.3