Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

加载大体积的图片文件会失败 #255

Open
feiyangqingyun opened this issue Nov 18, 2024 · 0 comments
Open

加载大体积的图片文件会失败 #255

feiyangqingyun opened this issue Nov 18, 2024 · 0 comments

Comments

@feiyangqingyun
Copy link

测试发现如果开启了硬解码以及videoout.clear_on_stop=0情况下,加载大体积比如5MB的图片文件会失败,无法显示图片,需要执行多次play方法才行。
std::vector<std::string> decoders; decoders.push_back("DXVA"); decoders.push_back("FFmpeg"); player->setDecoders(mdk::MediaType::Video, decoders); mdk::SetGlobalOption("videoout.clear_on_stop", 0);

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant