Code: Select all
[VIDEO OUTPUT] [VOUT_DIRECTX] --> creating DirectXEventThread
[GENERIC] [MAIN] ---------------> thread (Vout Events Thread) created at priority 0 (directx.c:282)
[GENERIC] [MAIN] ---------------> thread started
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCreateWindow
[WINDOW] [MAIN] ----------------> looking for hwnd module: 1 candidate
[WINDOW] [MAIN] ----------------> using hwnd module "drawable"
[VIDEO OUTPUT] [VOUT_DIRECTX] --> created video sub-window
[VIDEO OUTPUT] [VOUT_DIRECTX] --> Vout EventThread running
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXInitDDraw
[VIDEO OUTPUT] [VOUT_DIRECTX] --> directx-device:
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXEnumCallback: Controlador de pantalla primaria, display
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXEnumCallback: NVIDIA Quadro NVS 285, \\.\DISPLAY1
[VIDEO OUTPUT] [VOUT_DIRECTX] --> selecting NVIDIA Quadro NVS 285, \\.\DISPLAY1
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXEnumCallback: NVIDIA Quadro NVS 285, \\.\DISPLAY2
[VIDEO OUTPUT] [VOUT_DIRECTX] --> screen dimensions (0x0,1280x1024)
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1
[VIDEO OUTPUT] [VOUT_DIRECTX] --> align_boundary_src=0,0 align_boundary_dest=1,1 align_size_src=0,0 align_size_dest=0,0
[VIDEO OUTPUT] [VOUT_DIRECTX] --> End DirectXInitDDraw
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCreateDisplay
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCreateClipper
[VIDEO OUTPUT] [VOUT_DIRECTX] --> disabling screen saver
[VIDEO OUTPUT] [MAIN] ----------> using video output module "vout_directx"
[VIDEO OUTPUT] [MAIN] ----------> Deinterlacing available
[VIDEO OUTPUT] [VOUT_DIRECTX] --> NewPictureVec overlay:yes chroma:YV12
[VIDEO OUTPUT] [VOUT_DIRECTX] --> End NewPictureVec (failed)
[VIDEO OUTPUT] [VOUT_DIRECTX] --> NewPictureVec overlay:yes chroma:YV12
[VIDEO OUTPUT] [VOUT_DIRECTX] --> End NewPictureVec (failed)
[VIDEO OUTPUT] [VOUT_DIRECTX] --> NewPictureVec overlay:yes chroma:YUY2
[VIDEO OUTPUT] [VOUT_DIRECTX] --> End NewPictureVec (failed)
[VIDEO OUTPUT] [VOUT_DIRECTX] --> Could not initialize directx overlay
[VIDEO OUTPUT] [VOUT_DIRECTX] --> NewPictureVec overlay:no chroma:YV12
[VIDEO OUTPUT] [VOUT_DIRECTX] --> created plain surface of chroma:YV12
[VIDEO OUTPUT] [VOUT_DIRECTX] --> End NewPictureVec (succeeded)
[VIDEO OUTPUT] [MAIN] ----------> got 1 direct buffer(s)
[VIDEO OUTPUT] [MAIN] ----------> pic render sz 384x288, of (0,0), vsz 384x288, 4cc I420, ar 270857:216000, sar 1:1, msk r0x0 g0x0 b0x0
[VIDEO OUTPUT] [MAIN] ----------> pic in sz 384x288, of (0,0), vsz 384x288, 4cc I420, ar 270857:216000, sar 79:84, msk r0x0 g0x0 b0x0
[VIDEO OUTPUT] [MAIN] ----------> pic out sz 384x288, of (0,0), vsz 384x288, 4cc I420, ar 270857:216000, sar 79:84, msk r0x0 g0x0 b0x0
[VIDEO OUTPUT] [MAIN] ----------> direct render, mapping render pictures 0-14 to system pictures 1-15
[DECODER] [MAIN] ---------------> End of video preroll
Code: Select all
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCloseSurface
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCloseDisplay
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCloseDisplay clipper
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCloseDisplay display
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCloseDDraw
[GENERIC] [VOUT_DIRECTX] -------> DirectXEventThread terminating
[VIDEO OUTPUT] [VOUT_DIRECTX] --> DirectXCloseWindow
[VIDEO OUTPUT] [VOUT_DIRECTX] --> WinProc WM_DESTROY
[WINDOW] [MAIN] ----------------> removing module "drawable"
[GENERIC] [MAIN] ---------------> thread ended
[GENERIC] [MAIN] ---------------> thread times: real 0m8.218750s, kernel 0m0.000000s, user 0m0.000000s
[VIDEO OUTPUT] [MAIN] ----------> removing module "vout_directx"
Code: Select all
[GENERIC] [DIRECTX] ------------> creating Vout EventThread
[GENERIC] [DIRECTX] ------------> DirectXCreateWindow
[WINDOW] [MAIN] ----------------> looking for vout window hwnd module: 1 candidate
[WINDOW] [MAIN] ----------------> using vout window hwnd module "drawable"
[GENERIC] [DIRECTX] ------------> created video sub-window
[GENERIC] [DIRECTX] ------------> Vout EventThread running
[GENERIC] [DIRECTX] ------------> disabling screen saver
[GENERIC] [DIRECTX] ------------> directx-device:
[GENERIC] [DIRECTX] ------------> DirectXEnumCallback: NVIDIA Quadro NVS 285, \\.\DISPLAY1
[GENERIC] [DIRECTX] ------------> selecting NVIDIA Quadro NVS 285, \\.\DISPLAY1
[GENERIC] [DIRECTX] ------------> DirectXEnumCallback: NVIDIA Quadro NVS 285, \\.\DISPLAY2
[GENERIC] [DIRECTX] ------------> screen dimensions (0x0,1280x1024)
[GENERIC] [DIRECTX] ------------> DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1
[GENERIC] [DIRECTX] ------------> align_boundary_src=0,0 align_boundary_dest=1,1 align_size_src=0,0 align_size_dest=0,0
[GENERIC] [MAIN] ---------------> VoutDisplayEvent 'resize' 392x322 window
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_dst_clipped coords: 642,784,1034,1024
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_src_clipped coords: 0,0,384,236
[GENERIC] [DIRECTX] ------------> YUV plain surface created successfully
[GENERIC] [MAIN] ---------------> using vout display module "directx"
[VIDEO OUTPUT] [MAIN] ----------> option direct3d-desktop does not exist
[VIDEO OUTPUT] [MAIN] ----------> using video output module "vout_wrapper"
[VIDEO OUTPUT] [MAIN] ----------> got 1 direct buffer(s)
[VIDEO OUTPUT] [MAIN] ----------> pic render sz 384x288, of (0,0), vsz 384x288, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[VIDEO OUTPUT] [MAIN] ----------> pic in sz 384x288, of (0,0), vsz 384x288, 4cc I420, sar 79:84, msk r0x0 g0x0 b0x0
[VIDEO OUTPUT] [MAIN] ----------> pic out sz 384x288, of (0,0), vsz 384x288, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[VIDEO OUTPUT] [MAIN] ----------> direct render, mapping render pictures 0-23 to system pictures 1-24
[GENERIC] [MAIN] ---------------> VoutDisplayEvent 'resize' 316x252 window
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_dst_clipped coords: 642,777,958,1014
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_src_clipped coords: 0,0,384,288
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_dst_clipped coords: 642,770,958,1022
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_src_clipped coords: 0,0,384,288
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_dst_clipped coords: 642,770,958,1022
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_src_clipped coords: 0,0,384,288
[DECODER] [AVCODEC] ------------> using direct rendering
[DECODER] [MAIN] ---------------> End of video preroll
Code: Select all
[GENERIC] [DIRECTX] ------------> DirectXEventThread terminating
[GENERIC] [DIRECTX] ------------> DirectXCloseWindow
[GENERIC] [DIRECTX] ------------> WinProc WM_DESTROY
[WINDOW] [MAIN] ----------------> removing module "drawable"
[GENERIC] [MAIN] ---------------> removing module "directx"
[VIDEO OUTPUT] [MAIN] ----------> removing module "vout_wrapper"
Code: Select all
diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index 6b0a6df..b15d61b 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -1201,6 +1201,8 @@ static void DirectXDestroyPictureResource(vout_display_t *vd)
{
vout_display_sys_t *sys = vd->sys;
+ if (sys->resource.p_sys->front_surface != sys->resource.p_sys->surface)
+ DirectXDestroySurface(sys->resource.p_sys->surface);
DirectXDestroySurface(sys->resource.p_sys->front_surface);
}
Code: Select all
.
.
.
[GENERIC] [MAIN] ---------------> VoutDisplayEvent 'resize' 316x252 window
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_dst_clipped coords: 642,777,958,1014
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_src_clipped coords: 0,0,384,288
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_dst_clipped coords: 642,770,958,1022
[[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_src_clipped coords: 0,0,384,288
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_dst_clipped coords: 642,770,958,1022
[GENERIC] [DIRECTX] ------------> DirectXUpdateRects image_src_clipped coords: 0,0,384,288
[DECODER] [AVCODEC] ------------> using direct rendering
[DECODER] [MAIN] ---------------> End of video preroll
[VIDEO OUTPUT] [MAIN] ----------> Post-processing available
[VIDEO OUTPUT] [MAIN] ----------> vlc_object_find_name(postproc) is not safe!
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
[GENERIC] [DIRECTX] ------------> could not blit surface (error -2005532467)
.
.
.
Code: Select all
if (sys->resource.p_sys->front_surface != sys->resource.p_sys->surface)
DirectXDestroySurface(sys->resource.p_sys->surface);
Code: Select all
if (sys->resource.p_sys->front_surface != sys->resource.p_sys->surface) {
DirectXDestroySurface(sys->resource.p_sys->surface);
msg_Dbg(vd, "Patch is working");
} else {
msg_Dbg(vd, "Patch is not working");
}
Code: Select all
/* FIXME */
sys->use_overlay = false; //var_CreateGetBool(vd, "overlay");
/* FIXME */
Code: Select all
[GENERIC] [DIRECTX] ------------> YUV overlay surface created successfully
Code: Select all
bool allow_overlay = var_InheritBool(vd, "overlay");
Code: Select all
bool allow_overlay = false; //var_InheritBool(vd, "overlay");
Return to “Development around libVLC”
Users browsing this forum: No registered users and 14 guests