[vlc-commits] picture: fix missing video_format_t attributes from the picture

Steve Lhomme git at videolan.org
Mon Oct 1 17:26:26 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Sep 28 12:25:53 2018 +0200| [3d659053c2b69d01331ea6a9a0919bdb08a9fd60] | committer: Steve Lhomme

picture: fix missing video_format_t attributes from the picture

regression introduced by 2054d46ba29d7986d8403656170ff9445ab18efc

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d659053c2b69d01331ea6a9a0919bdb08a9fd60
---

 src/misc/picture.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/misc/picture.c b/src/misc/picture.c
index f8059a603e..f61e0a3d0e 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 ) )
     {



More information about the vlc-commits mailing list