video_filter:canvas: init the fmt_out directly from filter_chain_GetFmtOut()
commite74666db3f69e49b08fff1ec722d2d06ae5d4525
authorSteve Lhomme <robux4@videolabs.io>
Mon, 17 Jul 2017 07:15:15 +0000 (17 09:15 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 21 Jul 2017 11:21:17 +0000 (21 13:21 +0200)
treeea5b59b5feaf87d1ebfd16abfa60370b12368746
parent7864c554177804daf62cf84e989e13eb9572d3b4
video_filter:canvas: init the fmt_out directly from filter_chain_GetFmtOut()

avoid a structure copy and avoid shallow copies of es_format_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_filter/canvas.c