Skip to content

Commit 2a96fd4

Browse files
Merge pull request #626 from IENT/bugfix/cachingNotWorkingCorrectly
Fix bug for caching
2 parents 428c361 + 374fd5b commit 2a96fd4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# We'll use defaults from the LLVM style, but with 4 columns indentation.
21
IndentWidth: 2
2+
ContinuationIndentWidth: 2
33
---
44
Language: Cpp
55
Standard: c++17

YUViewLib/src/video/yuv/videoHandlerYUV.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3035,9 +3035,9 @@ void videoHandlerYUV::guessAndSetPixelFormat(
30353035
{
30363036
auto format = guessPixelFormatFromSizeAndName(frameFormat, fileInfo);
30373037
if (format.isValid())
3038-
this->setSrcPixelFormat(format);
3038+
this->setSrcPixelFormat(format, false);
30393039
else
3040-
this->setSrcPixelFormat(PixelFormatYUV(Subsampling::YUV_420, 8, PlaneOrder::YUV));
3040+
this->setSrcPixelFormat(PixelFormatYUV(Subsampling::YUV_420, 8, PlaneOrder::YUV), false);
30413041
}
30423042

30433043
/** Try to guess the format of the raw YUV data. A list of candidates is tried (candidateModes) and

0 commit comments

Comments
 (0)