Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bmdplay.cpp setting connections #103

Open
sbelet opened this issue Mar 7, 2019 · 0 comments
Open

bmdplay.cpp setting connections #103

sbelet opened this issue Mar 7, 2019 · 0 comments

Comments

@sbelet
Copy link

sbelet commented Mar 7, 2019

This is may not an issue, more like something odd I'd like to report.

in bmdplay.cpp, lines 535-557

``
//XXX make it generic

switch (connection) {  
case 1:  
    DECKLINK_SET_VIDEO_CONNECTION(bmdVideoConnectionComposite);  
    DECKLINK_SET_AUDIO_CONNECTION(bmdAudioConnectionAnalog);  
    break;  
case 2:  
    DECKLINK_SET_VIDEO_CONNECTION(bmdVideoConnectionComponent);  
    DECKLINK_SET_AUDIO_CONNECTION(bmdAudioConnectionAnalog);  
    break;  
case 3:  
    DECKLINK_SET_VIDEO_CONNECTION(bmdVideoConnectionHDMI);  
    DECKLINK_SET_AUDIO_CONNECTION(bmdAudioConnectionEmbedded);  
    break;  
case 4:  
    DECKLINK_SET_VIDEO_CONNECTION(bmdVideoConnectionSDI);  
    DECKLINK_SET_AUDIO_CONNECTION(bmdAudioConnectionEmbedded);  
    break;  
default:  
    // do not change it  
    break;  
}  

``

The thing is (what I think odd is), same DECKLINK_SET_VIDEO/AUDIO_CONNECTION macro also used in bmdcapture (input). and macro expands to INPUT connections not OUTPUT.

Yes, bmdplay works at least in our cases. I just wanted to report because I don't quite understand whats going on.

Regards.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

1 participant