diff options
author | Johns <johns98@gmx.net> | 2013-04-08 16:42:47 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-04-08 16:42:47 +0200 |
commit | 5b35e70b94b52063ad8b90e602fd10ee12a2786a (patch) | |
tree | 1e2cd172d2d570d10fe2b962a03c9e47e19c6b8a | |
parent | 857546a3a50344cdf787da346061d3bb5e8b25b4 (diff) | |
download | vdr-plugin-softhddevice-5b35e70b94b52063ad8b90e602fd10ee12a2786a.tar.gz vdr-plugin-softhddevice-5b35e70b94b52063ad8b90e602fd10ee12a2786a.tar.bz2 |
Fix bug #1302: Unsupported pixel format crash.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | Todo | 1 | ||||
-rw-r--r-- | video.c | 2 |
3 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ User johns Date: + Fix bug #1302: Unsupported pixel format crash. Fix the fix, when sillpicture is called in suspend mode. Fix crash, when sillpicture is called in suspend mode. Add workaround for zero width+height and ffmpeg >= 1.2. @@ -40,6 +40,7 @@ video: check start with 24Hz display rate crash with ffmpeg without vaapi and vdpau. still-picture of PES recordings should use VideoMpegEnqueue. + convert PIX_FMT_... PixelFormat to new names AV_PIX_FMT_..., AVPixelFormat. vdpau: software deinterlace path not working. @@ -2311,6 +2311,7 @@ static int VaapiFindImageFormat(VaapiDecoder * decoder, // intel: I420 is native format for MPEG-2 decoded surfaces // intel: NV12 is native format for H.264 decoded surfaces case PIX_FMT_YUV420P: + case PIX_FMT_YUVJ420P: // fourcc = VA_FOURCC_YV12; // YVU fourcc = VA_FOURCC('I', '4', '2', '0'); // YUV break; @@ -7583,6 +7584,7 @@ static void VdpauRenderFrame(VdpauDecoder * decoder, // switch (video_ctx->pix_fmt) { case PIX_FMT_YUV420P: + case PIX_FMT_YUVJ420P: // some streams produce this break; case PIX_FMT_YUV422P: case PIX_FMT_YUV444P: |