Ticket #4142: 4142-dbg-v1.patch
File 4142-dbg-v1.patch, 1.1 KB (added by , 16 years ago) |
---|
-
libs/libmythtv/videoout_xv.cpp
1929 1929 bool ok = true; 1930 1930 for (uint i = 0; i < num; i++) 1931 1931 { 1932 VERBOSE(VB_PLAYBACK, LOC + "Creating XvMC Surface "<<i<<" of "<<num); 1933 1932 1934 xvmc_vo_surf_t *surf = new xvmc_vo_surf_t; 1933 1935 bzero(surf, sizeof(xvmc_vo_surf_t)); 1934 1936 … … 1937 1939 int ret = XvMCCreateSurface(XJ_disp, xvmc_ctx, &(surf->surface)); 1938 1940 ok &= (Success == ret); 1939 1941 1942 if (Success != ret) 1943 VERBOSE(VB_IMPORTANT, LOC + "XvMCCreateSurface failed"); 1944 1940 1945 if (ok && !surface_has_vld) 1941 1946 { 1942 1947 ret = XvMCCreateBlocks(XJ_disp, xvmc_ctx, num_data_blocks, 1943 1948 &(surf->blocks)); 1944 1949 if (Success != ret) 1945 1950 { 1951 VERBOSE(VB_IMPORTANT, LOC + "XvMCCreateBlocks failed"); 1946 1952 XvMCDestroySurface(XJ_disp, &(surf->surface)); 1947 1953 ok = false; 1948 1954 }