[vlc-commits] vout: decklink: fix format auto selection
Francois Cartegnie
git at videolan.org
Mon Nov 21 17:46:36 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Nov 17 20:08:23 2016 +0100| [1c21aeda9411b952f00b4372df11acb7f5bb92a4] | committer: Francois Cartegnie
vout: decklink: fix format auto selection
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c21aeda9411b952f00b4372df11acb7f5bb92a4
---
modules/video_output/decklink.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 5f57c0c..f350741 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -425,7 +425,7 @@ static IDeckLinkDisplayMode * MatchDisplayMode(vout_display_t *vd,
continue;
}
- if(p_selected == NULL)
+ if(p_selected == NULL && forcedmode == bmdDisplayModeNotSupported)
{
if(i_width >> i_div == p_mode->GetWidth() >> i_div &&
i_height >> i_div == p_mode->GetHeight() >> i_div)
More information about the vlc-commits
mailing list