mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Allwinner: drop kodi sw format check patch
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
2f3ef07ca5
commit
a032fbd82e
@ -1,18 +0,0 @@
|
|||||||
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp
|
|
||||||
index 3b0d0d832d..221f48f061 100644
|
|
||||||
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp
|
|
||||||
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp
|
|
||||||
@@ -243,12 +362,6 @@ bool CDVDVideoCodecDRMPRIME::Open(CDVDStreamInfo& hints, CDVDCodecOptions& optio
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (m_pCodecContext->pix_fmt != AV_PIX_FMT_DRM_PRIME)
|
|
||||||
- {
|
|
||||||
- CLog::Log(LOGNOTICE, "CDVDVideoCodecDRMPRIME::%s - unexpected pix fmt %s", __FUNCTION__, av_get_pix_fmt_name(m_pCodecContext->pix_fmt));
|
|
||||||
- avcodec_free_context(&m_pCodecContext);
|
|
||||||
- return false;
|
|
||||||
- }
|
|
||||||
|
|
||||||
const char* pixFmtName = av_get_pix_fmt_name(m_pCodecContext->pix_fmt);
|
|
||||||
m_processInfo.SetVideoPixelFormat(pixFmtName ? pixFmtName : "");
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user