Ticket #6653: osdxvmc.cpp.diff

File osdxvmc.cpp.diff, 882 bytes (added by anonymous, 11 years ago)
  • osdxvmc.cpp

     
    1111#include "osdxvmc.h"
    1212#include "videoout_xv.h"
    1313
    14 extern "C" XvImage *XvShmCreateImage(MythXDisplay*, XvPortID, int, char*,
     14extern "C" XvImage *XvShmCreateImage(Display*, XvPortID, int, char*,
    1515                                     int, int, XShmSegmentInfo*);
    1616
    1717#define NO_SUBPICTURE      0
     
    9797    XvMCClearSubpicture(d, &osd_subpict, 0, 0, XJ_width,
    9898                        XJ_height, osd_subpict_clear_color);
    9999
    100     osd_xv_image = XvShmCreateImage(disp, xv_port,
     100    osd_xv_image = XvShmCreateImage(d, xv_port,
    101101                                    osd_subpict_info.id, NULL,
    102102                                    XJ_width, XJ_height,
    103103                                    &XJ_osd_shm_info);