Skip to content

Commit f2884ae

Browse files
committed
testcard: bpp should be in bits not bytes
1 parent 0d52f02 commit f2884ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video_capture/testcard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ static int vidcap_testcard_init(struct vidcap_params *params, void **state)
414414
s->last_frame_time = std::chrono::steady_clock::now();
415415

416416
LOG(LOG_LEVEL_INFO) << MOD_NAME << "capture set to " << desc << ", bpp "
417-
<< get_bpp(s->frame->color_spec) << ", pattern: " << s->pattern
417+
<< get_bpp(s->frame->color_spec) * 8 << ", pattern: " << s->pattern
418418
<< ", audio " << (s->grab_audio ? "on" : "off") << "\n";
419419

420420
if (strip_fmt != NULL) {

0 commit comments

Comments
 (0)