mmal/vout: Fix abuse of vd->fmt
The fmt in vout_display_t is not allowed to be written to after opening the plugin without invalidating all the pictures. Instead of doing invalid writes to vd->fmt, just make use of vd->source and event arguments directly which shall hold correct values. As framerate changes are not announced by the core we need to add a local storage for comparion now as vd->fmt must not be used for it. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment