Skip to content

PVT-550-PVT-551--from-PVT-221-2 match format - #12

Draft
mmcardle wants to merge 1 commit into
aw-sohonet:PVT-221-2from
sohonet:PVT-550-PVT-551--from-PVT-221-2
Draft

PVT-550-PVT-551--from-PVT-221-2 match format#12
mmcardle wants to merge 1 commit into
aw-sohonet:PVT-221-2from
sohonet:PVT-550-PVT-551--from-PVT-221-2

Conversation

@mmcardle

@mmcardle mmcardle commented Oct 15, 2025

Copy link
Copy Markdown

Add testcard2 to output to match the format of testcard and to be parsed by our log collector.

printf("Testcard capture set to %dx%d\n", s->desc.width, s->desc.height);
log_msg(LOG_LEVEL_INFO, MOD_NAME "capture set to %dx%d @%.2gp, codec %s, bpc %d, pattern: %s, audio %s\n",
s->desc.width, s->desc.height, s->desc.fps, get_codec_name(s->desc.color_spec),
get_bits_per_component(s->desc.color_spec), "bars", s->grab_audio ? "on" : "off");

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this log line to be just before the gettimeofday. Although everything should be fully set at this point, it does seem to set the s->grab_audio again (already set above).

#include "utils/macros.h"
#include "utils/thread.h"
#include "video.h"
#include "video_codec.h"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove unnecessary import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants