Commit 7ccd28aa authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

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

parent 031a152a
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment