Ticket #1058: 1058-dbg-v1.patch
File 1058-dbg-v1.patch, 1.6 KB (added by , 18 years ago) |
---|
-
libs/libmythtv/videoout_xv.cpp
1508 1508 image = XvShmCreateImage(XJ_disp, xv_port, xv_chroma, 0, 1509 1509 XJ_width, XJ_height, &XJ_shm_infos[i]); 1510 1510 size = ((XvImage*)image)->data_size + 64; 1511 VERBOSE(VB_IMPORTANT, "XvShmCreateImage(xv_port:"<<xv_port 1512 <<", xv_chroma:"<<xv_chroma<<", XJ_width:"<<XJ_width 1513 <<", XJ_height:"<<XJ_height<<", i:"<<i 1514 <<") -> data_size:"<<((XvImage*)image)->data_size); 1511 1515 } 1512 1516 else 1513 1517 { … … 1527 1531 if (XJ_shm_infos[i].shmid >= 0) 1528 1532 { 1529 1533 XJ_shm_infos[i].shmaddr = (char*) shmat(XJ_shm_infos[i].shmid, 0, 0); 1534 VERBOSE(VB_IMPORTANT, "shmat(i:"<<i<<")" 1535 <<" id:"<<XJ_shm_infos[i].shmid 1536 <<", addr:"<<(void*)XJ_shm_infos[i].shmaddr); 1530 1537 if (use_xv) 1531 1538 ((XvImage*)image)->data = XJ_shm_infos[i].shmaddr; 1532 1539 else … … 3269 3276 { 3270 3277 for (uint i = 0; i < vbuffers.allocSize(); i++) 3271 3278 { 3279 VERBOSE(VB_IMPORTANT, "clear_xv_buffers(width:"<<width 3280 <<", height:"<<height<<") i:"<<i 3281 <<" addr:"<<((void*)vbuffers.at(i)->buf)); 3272 3282 unsigned char *data = vbuffers.at(i)->buf; 3273 3283 bzero(data, width * height); 3274 3284 memset(data + width * height, 127,