mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Merge pull request #14199 from unknownbrackets/ffmpeg-update
Mpeg: Set low latency flag for video decode
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -542,6 +542,8 @@ bool MediaEngine::setVideoStream(int streamNum, bool force) {
|
||||
}
|
||||
#endif
|
||||
|
||||
m_pCodecCtx->flags |= AV_CODEC_FLAG_OUTPUT_CORRUPT | AV_CODEC_FLAG_LOW_DELAY;
|
||||
|
||||
AVDictionary *opt = nullptr;
|
||||
// Allow ffmpeg to use any number of threads it wants. Without this, it doesn't use threads.
|
||||
av_dict_set(&opt, "threads", "0", 0);
|
||||
|
||||
Reference in new issue
Block a user