]> git.sesse.net Git - vlc/blobdiff - modules/video_output/xcb/xvideo.c
Replaced vout_InitPicture/Format with their equivalent.
[vlc] / modules / video_output / xcb / xvideo.c
index ceffaf979cb9614d71f391d53facd606b01dc7e0..f460c4afad8f3cd2ebd0c42e30e3634ef417d269 100644 (file)
@@ -456,9 +456,9 @@ found_adaptor:
         if (pic->i_status != FREE_PICTURE)
             continue;
 
-        vout_InitPicture (vout, pic, vout->output.i_chroma,
-                          att->width, att->height,
-                          vout->fmt_in.i_aspect);
+        picture_Setup (pic, vout->output.i_chroma,
+                       att->width, att->height,
+                       vout->fmt_in.i_aspect);
         if (PictureAlloc (vout, pic, att->data_size,
                           p_sys->shm ? p_sys->conn : NULL))
             break;