Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# We'll use defaults from the LLVM style, but with 4 columns indentation.
IndentWidth: 2
ContinuationIndentWidth: 2
---
Language: Cpp
Standard: c++17
Expand Down
4 changes: 2 additions & 2 deletions YUViewLib/src/video/yuv/videoHandlerYUV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3035,9 +3035,9 @@ void videoHandlerYUV::guessAndSetPixelFormat(
{
auto format = guessPixelFormatFromSizeAndName(frameFormat, fileInfo);
if (format.isValid())
this->setSrcPixelFormat(format);
this->setSrcPixelFormat(format, false);
else
this->setSrcPixelFormat(PixelFormatYUV(Subsampling::YUV_420, 8, PlaneOrder::YUV));
this->setSrcPixelFormat(PixelFormatYUV(Subsampling::YUV_420, 8, PlaneOrder::YUV), false);
}

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