[vlc-commits] access: decklink: Set video chroma format
Julian Scheel
git at videolan.org
Fri Sep 29 10:41:14 CEST 2017
vlc | branch: master | Julian Scheel <julian at jusst.de> | Wed Sep 27 17:11:20 2017 +0200| [05c3bb28f823d301548cb709f7421e840020681c] | committer: Ilkka Ollakka
access: decklink: Set video chroma format
A properly set chroma field is required for automatic filter selection
to work. As this is raw video chroma and codec are equal.
Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05c3bb28f823d301548cb709f7421e840020681c
---
modules/access/decklink.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp
index 3c66544e77..4c5f826fbd 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -188,6 +188,7 @@ static es_format_t GetModeSettings(demux_t *demux, IDeckLinkDisplayMode *m)
vlc_fourcc_t chroma = sys->tenbits ? VLC_CODEC_I422_10L : VLC_CODEC_UYVY;
es_format_Init(&video_fmt, VIDEO_ES, chroma);
+ video_fmt.video.i_chroma = chroma;
video_fmt.video.i_width = m->GetWidth();
video_fmt.video.i_height = m->GetHeight();
video_fmt.video.i_sar_num = 1;
More information about the vlc-commits
mailing list