Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-05-10 11:58:24 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-05-10 11:58:24 +0400
commit11340ac12c8d4d3153e4c62e54479bbb73d94db3 (patch)
tree2f6a47f6b79830c374500b658b80c4d8bb2c7a8f /decoder
parent64fee351645ccae70bb387ec6cc52368d4895f69 (diff)
Add an option to configure jpeg2000 support
Diffstat (limited to 'decoder')
-rw-r--r--decoder/LAVVideo/LAVVideoSettings.h1
-rw-r--r--decoder/LAVVideo/Media.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/decoder/LAVVideo/LAVVideoSettings.h b/decoder/LAVVideo/LAVVideoSettings.h
index bcc3de1d..816865eb 100644
--- a/decoder/LAVVideo/LAVVideoSettings.h
+++ b/decoder/LAVVideo/LAVVideoSettings.h
@@ -77,6 +77,7 @@ typedef enum LAVVideoCodec {
Codec_Snow,
Codec_FFV1,
Codec_v210,
+ Codec_JPEG2000,
Codec_VMNC,
Codec_VideoNB // Number of entrys (do not use when dynamically linking)
diff --git a/decoder/LAVVideo/Media.cpp b/decoder/LAVVideo/Media.cpp
index 164b9fd3..9aac539d 100644
--- a/decoder/LAVVideo/Media.cpp
+++ b/decoder/LAVVideo/Media.cpp
@@ -554,6 +554,7 @@ static codec_config_t m_codec_config[] = {
{ 1, { AV_CODEC_ID_SNOW }}, // Codec_Snow
{ 1, { AV_CODEC_ID_FFV1 }}, // Codec_FFV1
{ 2, { AV_CODEC_ID_V210, AV_CODEC_ID_V410 }, "v210/v410", "v210/v410 uncompressed"}, // Codec_v210
+ { 1, { AV_CODEC_ID_JPEG2000 }}, // Codec_JPEG2000
{ 1, { AV_CODEC_ID_VMNC }}, // Codec_VMNC
};