Skip to content

Commit

Permalink
also implement the fix for the video transcoder
Browse files Browse the repository at this point in the history
  • Loading branch information
Like4Schnitzel committed May 13, 2024
1 parent 51a56e6 commit 4061117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transcoder/videotranscoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ cv::Vec3b meanColWithSubPixels(cv::Mat mat, double x, double y, double width, do
if (y == maxH - 1)
pixelPercent *= y1Percent;

auto pixel = slice.at<cv::Vec3b>(x, y);
auto pixel = slice.at<cv::Vec3b>(y, x);
result += pixel * pixelPercent;
pixelCount += pixelPercent;
}
Expand Down

0 comments on commit 4061117

Please sign in to comment.