[vlc-devel] [PATCH] picture: fix missing video_format_t attributes from the picture
Steve Lhomme
robux4 at ycbcr.xyz
Fri Sep 28 12:26:49 CEST 2018
regression introduced by 2054d46ba29d7986d8403656170ff9445ab18efc
---
src/misc/picture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/misc/picture.c b/src/misc/picture.c
index f8059a603e3..f61e0a3d0ef 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -189,6 +189,7 @@ static picture_priv_t *picture_NewPrivate(const video_format_t *restrict p_fmt)
memset( p_picture, 0, sizeof( *p_picture ) );
+ p_picture->format = *p_fmt;
/* Make sure the real dimensions are a multiple of 16 */
if( picture_Setup( p_picture, p_fmt ) )
{
--
2.19.0
More information about the vlc-devel
mailing list