summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/combined/ffmpeg/ff_video_decoder.c4
-rw-r--r--src/xine-engine/buffer.h1
-rw-r--r--src/xine-engine/buffer_types.c8
3 files changed, 13 insertions, 0 deletions
diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c
index 3ea08417e..ac101d77e 100644
--- a/src/combined/ffmpeg/ff_video_decoder.c
+++ b/src/combined/ffmpeg/ff_video_decoder.c
@@ -321,6 +321,7 @@ static const ff_codec_t ff_video_lookup[] = {
{BUF_VIDEO_CAVS, CODEC_ID_CAVS, "Chinese AVS (ffmpeg)"},
{BUF_VIDEO_VMNC, CODEC_ID_VMNC, "VMware Screen Codec (ffmpeg)"},
{BUF_VIDEO_THEORA_RAW, CODEC_ID_THEORA, "Theora (ffmpeg)"},
+ {BUF_VIDEO_SNOW, CODEC_ID_SNOW, "Snow (ffmpeg)"},
};
static const char *const skip_loop_filter_enum_names[] = {
@@ -1892,6 +1893,9 @@ static uint32_t supported_video_types[] = {
#ifdef CONFIG_VMNC_DECODER
BUF_VIDEO_VMNC,
#endif
+ #ifdef CONFIG_SNOW_DECODER
+ BUF_VIDEO_SNOW,
+ #endif
BUF_VIDEO_THEORA_RAW,
0
};
diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h
index 97df4d2ae..4176b89e5 100644
--- a/src/xine-engine/buffer.h
+++ b/src/xine-engine/buffer.h
@@ -192,6 +192,7 @@ extern "C" {
#define BUF_VIDEO_THEORA_RAW 0x02640000
#define BUF_VIDEO_VC1 0x02650000
#define BUF_VIDEO_VMNC 0x02660000
+#define BUF_VIDEO_SNOW 0x02670000
/* audio buffer types: (please keep in sync with buffer_types.c) */
diff --git a/src/xine-engine/buffer_types.c b/src/xine-engine/buffer_types.c
index e454a0fe2..911e123ed 100644
--- a/src/xine-engine/buffer_types.c
+++ b/src/xine-engine/buffer_types.c
@@ -779,6 +779,14 @@ static const video_db_t video_db[] = {
BUF_VIDEO_VMNC,
"VMware Screen Codec"
},
+{
+ {
+ ME_FOURCC('S','N','O','W'),
+ 0
+ },
+ BUF_VIDEO_SNOW,
+ "Snow"
+},
{ { 0 }, 0, "last entry" }
};