[vlc-commits] win32/common: don't try to set the picture pixels if it's already done

Steve Lhomme git at videolan.org
Fri Jul 29 00:35:47 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Jul 28 15:26:59 2016 +0200| [7ccd28aa195fa855c1442e67727102ca5dc3b777] | committer: Jean-Baptiste Kempf

win32/common: don't try to set the picture pixels if it's already done

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

 modules/video_output/win32/common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index 886d579..c3029a5 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -473,6 +473,7 @@ int CommonUpdatePicture(picture_t *picture, picture_t **fallback,
     }
 
     /*  Fill chroma planes for planar YUV */
+    else
     if (picture->format.i_chroma == VLC_CODEC_I420 ||
         picture->format.i_chroma == VLC_CODEC_J420 ||
         picture->format.i_chroma == VLC_CODEC_YV12) {



More information about the vlc-commits mailing list