Skip to content

Commit

Permalink
DeckLink: document query interface
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Oct 18, 2023
1 parent 90d0432 commit b445eb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/video_capture/decklink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,12 @@ static int
decklink_help(bool full, const char *query_prop_fcc = nullptr)
{
col() << "\nDecklink options:\n";
col() << SBOLD(SRED("\t-t decklink") << ":[full]help") << " | "
<< SBOLD(SRED("-t decklink") << ":query=<FourCC>") << "\n";
col() << SBOLD(SRED("\t-t decklink")
<< "{:m[ode]=<mode>|:d[evice]=<device_index>|:c[odec]=<colorspace>...<key>=<"
"val>}* | decklink:[full]help")
"val>}*")
<< "\n";
col() << "\t\tor\n";
col() << SBOLD(SRED("\t-t decklink")
<< "[:<device_index(indices)>[:<mode>:<colorspace>[:3D]["
":sync_timecode][:connection=<input>][:aacl][:detect-"
Expand Down
5 changes: 4 additions & 1 deletion src/video_display/decklink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,9 @@ show_help(bool full, const char *query_prop_fcc = nullptr)
col() << SBOLD(SRED("\t-d decklink")
<< "[:d[evice]=<device>][:Level{A|B}][:3D][:aacl][:half-"
"duplex][:HDR[=<t>][:drift_fix]]\n");
col() << SBOLD(SRED("\t-d decklink") << ":[full]help\n");
col() << SBOLD(SRED("\t-d decklink") << ":[full]help") << " | "
<< SBOLD(SRED("-d decklink") << ":query=<FourCC>"
"\n");
col() << "\nOptions:\n";
if (!full) {
col() << SBOLD("\tfullhelp") << "\tdisplay additional options and more details\n";
Expand Down Expand Up @@ -568,6 +570,7 @@ show_help(bool full, const char *query_prop_fcc = nullptr)
col() << SBOLD("\tminresample=<N>") << " minimum amount the resample delta can be when scaling is applied. Measured in Hz\n";
col() << SBOLD("\ttargetbuffer=<N>") << " target amount of samples to have in the buffer (per channel)\n";
col() << SBOLD("\tkeep-settings") << "\tdo not apply any DeckLink settings by UG than required (keep user-selected defaults)\n";
col() << SBOLD("\tquery=<FourCC>") << "\tquery specified device argument in help listing\n";
col() << SBOLD("\t<option_FourCC>=<value>") << "\tarbitrary BMD option (given a FourCC) and corresponding value\n";
}

Expand Down

0 comments on commit b445eb9

Please sign in to comment.