]> git.sesse.net Git - vlc/commit
mmal/vout: Properly populate plane specification
authorJulian Scheel <julian@jusst.de>
Thu, 4 Sep 2014 10:43:01 +0000 (12:43 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Sep 2014 16:19:33 +0000 (18:19 +0200)
commitc1a536563747efb51e0b844d4a756dc0b749224a
treecf9d3760b0454bbb8a5841eddbbd1cf0427517a1
parent1ec8c36705246b191053b6ebec1491c121cf521a
mmal/vout: Properly populate plane specification

The pictures plane specifications were always filled with the size information
obtained from the vlc picture format combined with the assumption of having 3
planes. As this is not correct for the opaque case were only one plane with a
fixed size, which matches the mmal video_render input size, is used, change
the code to take care of this.
This change is required to provide other plugins reliable information about
the allocated data buffer size.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/hw/mmal/vout.c