changeset 36414:41cef3e079b8

Try enabling DR for FFmpeg VP8 decoder. VP8 seems to have emu-edge support now. There might still be other issues, so bug reports welcome.
author reimar
date Sat, 16 Nov 2013 07:37:32 +0000
parents 2dfea9cc8e2b
children 06bdd36f5c46
files etc/codecs.conf libmpcodecs/vd_ffmpeg.c
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Sat Nov 16 07:33:54 2013 +0000
+++ b/etc/codecs.conf	Sat Nov 16 07:37:32 2013 +0000
@@ -2934,7 +2934,6 @@
 
 videocodec ffvp8
   info "FFmpeg VP8"
-  comment "not using direct rendering due to missing edge emulation"
   status working
   fourcc VP80
   driver ffmpeg
--- a/libmpcodecs/vd_ffmpeg.c	Sat Nov 16 07:33:54 2013 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sat Nov 16 07:37:32 2013 +0000
@@ -255,8 +255,7 @@
     ctx->do_dr1 = (lavc_codec->capabilities & CODEC_CAP_DR1) &&
         lavc_codec->id != AV_CODEC_ID_INTERPLAY_VIDEO &&
         lavc_codec->id != AV_CODEC_ID_H264 &&
-        lavc_codec->id != AV_CODEC_ID_HEVC &&
-        lavc_codec->id != AV_CODEC_ID_VP8;
+        lavc_codec->id != AV_CODEC_ID_HEVC;
     ctx->nonref_dr = 0;
     // TODO: fix and enable again. This currently causes issues when using filters
     // and seeking, usually failing with the "Ran out of numbered images" message,