mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
Allwinner: kodi: Fix deinterlace filter patch
This commit is contained in:
parent
b8b2a2cec8
commit
66894bcff8
@ -152,8 +152,8 @@ index 2b334c95d47a..1e5624e7af50 100644
|
||||
+ const AVFilter* outFilter = avfilter_get_by_name("buffersink");
|
||||
+ enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_DRM_PRIME, AV_PIX_FMT_NONE };
|
||||
+
|
||||
+ std::string args = StringUtils::Format("video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:"
|
||||
+ "pixel_aspect=%d/%d:sws_param=flags=2",
|
||||
+ std::string args = StringUtils::Format("video_size={}x{}:pix_fmt={}:time_base={}/{}:"
|
||||
+ "pixel_aspect={}/{}",
|
||||
+ m_pCodecContext->width,
|
||||
+ m_pCodecContext->height,
|
||||
+ m_pCodecContext->pix_fmt,
|
||||
@ -273,7 +273,7 @@ index 2b334c95d47a..1e5624e7af50 100644
|
||||
+ char* graphDump = avfilter_graph_dump(m_pFilterGraph, nullptr);
|
||||
+ if (graphDump)
|
||||
+ {
|
||||
+ CLog::Log(LOGDEBUG, "CDVDVideoCodecDRMPRIME::FilterOpen - Final filter graph:\n%s",
|
||||
+ CLog::Log(LOGDEBUG, "CDVDVideoCodecDRMPRIME::FilterOpen - Final filter graph:\n{}",
|
||||
+ graphDump);
|
||||
+ av_freep(&graphDump);
|
||||
+ }
|
||||
|
Loading…
x
Reference in New Issue
Block a user