summaryrefslogtreecommitdiff
path: root/libavformat/matroska.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-08-12 22:28:49 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-08-28 12:33:26 -0400
commitd4ae8ac92f619507aadd021bb67b517d39d3a36f (patch)
tree97fdda868ca2ca7fcf0e739cf2d6492d46824299 /libavformat/matroska.h
parent9301486408a480629336af4d7fd873c0f28fb2d5 (diff)
matroskadec: parse stereo mode on decoding
Convert the Matroska stereo format to the Stereo3D format, and add a Stereo3D side data to the stream. Bump the doctype version supported. Bug-Id: 728 / https://bugs.debian.org/757185
Diffstat (limited to 'libavformat/matroska.h')
-rw-r--r--libavformat/matroska.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h
index 667f92a720..d8f4f8ebec 100644
--- a/libavformat/matroska.h
+++ b/libavformat/matroska.h
@@ -237,6 +237,7 @@ typedef enum {
MATROSKA_VIDEO_STEREOMODE_TYPE_ANAGLYPH_GREEN_MAG = 12,
MATROSKA_VIDEO_STEREOMODE_TYPE_BOTH_EYES_BLOCK_LR = 13,
MATROSKA_VIDEO_STEREOMODE_TYPE_BOTH_EYES_BLOCK_RL = 14,
+ MATROSKA_VIDEO_STEREOMODE_TYPE_NB,
} MatroskaVideoStereoModeType;
/*
@@ -255,4 +256,6 @@ extern const CodecTags ff_mkv_codec_tags[];
extern const CodecMime ff_mkv_mime_tags[];
extern const AVMetadataConv ff_mkv_metadata_conv[];
+int ff_mkv_stereo3d_conv(AVStream *st, MatroskaVideoStereoModeType stereo_mode);
+
#endif /* AVFORMAT_MATROSKA_H */