Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index 2c7fd2be3..231435acb 100644
- --- a/src/modules/decklink/producer/decklink_producer.cpp
- +++ b/src/modules/decklink/producer/decklink_producer.cpp
- @@ -377,13 +377,13 @@ class decklink_producer : public IDeckLinkInputCallback
- graph_->set_color("out-sync", diagnostics::color(0.0f, 0.2f, 1.0f));
- graph_->set_text(print());
- diagnostics::register_graph(graph_);
- -
- + bool bstatus;
- int status = 0;
- int flags = bmdVideoInputEnableFormatDetection;
- if (!format.empty()) {
- flags = 0;
- - } else if (FAILED(attributes_->GetFlag(BMDDeckLinkSupportsInputFormatDetection, &status)) || !status) {
- + } else if (FAILED(attributes_->GetFlag(BMDDeckLinkSupportsInputFormatDetection, &bstatus)) || !bstatus) {
- CASPAR_LOG(warning) << L"Decklink producer does not support auto detect input, you can explicitly choose a "
- L"format by appending FORMAT";
- flags = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement