diff options
author | Johns <johns98@gmx.net> | 2013-04-03 16:47:21 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-04-03 16:47:21 +0200 |
commit | 23b0e0d599a89c549f50fbad939906f367630767 (patch) | |
tree | 4a7bbaa2c63d36fefd0a63f988922def187cae91 | |
parent | eab051f5e6d2585089e0b332f3a92bf09e6a6b1f (diff) | |
download | vdr-plugin-softhddevice-23b0e0d599a89c549f50fbad939906f367630767.tar.gz vdr-plugin-softhddevice-23b0e0d599a89c549f50fbad939906f367630767.tar.bz2 |
Add workaround for zero width+height and ffmpeg >= 1.2.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Todo | 1 | ||||
-rw-r--r-- | video.c | 3 |
3 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,9 @@ User johns +Date: + + Add workaround for zero width+height and ffmpeg >= 1.2. + +User johns Date: Sun Mar 17 15:52:42 CET 2013 Release Version 0.6.0 @@ -45,6 +45,7 @@ vdpau: software deinterlace path not working. OSD looses transparency, during channel switch. OSD looses transparency, while moving cut marks. + ffmpeg >=1.2 supports same API like VA-API. libva: yaepghd (VaapiSetOutputPosition) support @@ -152,11 +152,12 @@ typedef enum #include <libavcodec/vaapi.h> #include <libavutil/pixdesc.h> -#if LIBAVCODEC_VERSION_INT == AV_VERSION_INT(54,86,100) +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54,86,100) /// /// ffmpeg version 1.1.1 calls get_format with zero width and height /// for H264 codecs. /// since version 1.1.3 get_format is called twice. + /// ffmpeg 1.2 still buggy /// #define FFMPEG_BUG1_WORKAROUND ///< get_format bug workaround #endif |