[vlc-devel] [PATCH] access: decklink: Set video chroma format
Ilkka Ollakka
ileoo at videolan.org
Fri Sep 29 10:41:51 CEST 2017
On Wed, Sep 27, 2017 at 05:11:20PM +0200, Julian Scheel wrote:
> A properly set chroma field is required for automatic filter selection
> to work. As this is raw video chroma and codec are equal.
Thank, applied.
>
> Signed-off-by: Julian Scheel <julian at jusst.de>
> ---
> 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;
> --
> 2.14.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list