Ticket #4142: 4142-dbg-v1.patch

File 4142-dbg-v1.patch, 1.1 KB (added by danielk, 13 years ago)

debugging patch

  • libs/libmythtv/videoout_xv.cpp

     
    19291929    bool ok = true;
    19301930    for (uint i = 0; i < num; i++)
    19311931    {
     1932        VERBOSE(VB_PLAYBACK, LOC + "Creating XvMC Surface "<<i<<" of "<<num);
     1933
    19321934        xvmc_vo_surf_t *surf = new xvmc_vo_surf_t;
    19331935        bzero(surf, sizeof(xvmc_vo_surf_t));
    19341936
     
    19371939        int ret = XvMCCreateSurface(XJ_disp, xvmc_ctx, &(surf->surface));
    19381940        ok &= (Success == ret);
    19391941
     1942        if (Success != ret)
     1943            VERBOSE(VB_IMPORTANT, LOC + "XvMCCreateSurface failed");
     1944
    19401945        if (ok && !surface_has_vld)
    19411946        {
    19421947            ret = XvMCCreateBlocks(XJ_disp, xvmc_ctx, num_data_blocks,
    19431948                                   &(surf->blocks));
    19441949            if (Success != ret)
    19451950            {
     1951                VERBOSE(VB_IMPORTANT, LOC + "XvMCCreateBlocks failed");
    19461952                XvMCDestroySurface(XJ_disp, &(surf->surface));
    19471953                ok = false;
    19481954            }