Skip to content

Commit

Permalink
fixup! MMALFFmpeg: Add Sand/YUVUV128 support
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed May 23, 2017
1 parent 84cd95c commit 3d4cfcf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1223,9 +1223,6 @@ IHardwareDecoder* CDVDVideoCodecFFmpeg::CreateVideoDecoderHW(AVPixelFormat pixfm
#define VP_VIDEOCODEC_HW
IHardwareDecoder* CDVDVideoCodecFFmpeg::CreateVideoDecoderHW(AVPixelFormat pixfmt, CProcessInfo &processInfo)
{
#ifndef AV_PIX_FMT_SAND128
#define AV_PIX_FMT_SAND128 -1
#endif
if (pixfmt == AV_PIX_FMT_YUV420P || pixfmt == AV_PIX_FMT_SAND128)
return new MMAL::CDecoder(m_processInfo, m_hints);
return nullptr;
Expand Down
4 changes: 0 additions & 4 deletions xbmc/cores/VideoPlayer/DVDCodecs/Video/MMALFFmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ extern "C" {
#include "libavutil/imgutils.h"
}

#ifndef AV_PIX_FMT_SAND128
#define AV_PIX_FMT_SAND128 -1
#endif

using namespace MMAL;

//-----------------------------------------------------------------------------
Expand Down

0 comments on commit 3d4cfcf

Please sign in to comment.