Browser plugin freezes during stop after WM_DESTROY
Posted: 10 May 2013 14:22
Hi,
The vlc browser plugin freezes after WM_DESTROY during stop. The freeze is happening in
Did any one faced similar issues? I am using self compiled version of vlc 1.1.11. I can not use any other newer versions of vlc because this one is the stable version I thought after testing versions upto vlc 2.0.5. Please help me to fix this issue.
Are there any changes done to fix this issues in recent releases? I tried searching for it but could not get any info.
Regards.
Bala
The vlc browser plugin freezes after WM_DESTROY during stop. The freeze is happening in
called fromDestroyWindow( p_event->hwnd );
. I have attached the log below.DirectXCloseWindow()
Code: Select all
main debug: Creating an input for 'rtsp://172.22.66.220:554/ch0_unicast_secondstream'
main debug: thread started
main debug: thread (input) created at priority 1 (input/input.c:220)
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\m1021441\AppData\Local\Temp'
main debug: `rtsp://root:vipor123@172.22.66.220:554/ch0_unicast_secondstream' gives access `rtsp' demux `' path `root:vipor123@172.22.66.220:554/ch0_unicast_secondstream'
main debug: creating demux: access='rtsp' demux='' path='root:vipor123@172.22.66.220:554/ch0_unicast_secondstream'
main debug: looking for access_demux module: 2 candidates
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: TIMER module_need() : 26.000 ms - Total 26.000 ms / 1 intvls (Avg 26.000 ms)
main debug: looking for decoder module: 68 candidates
avcodec debug: libavcodec already initialized
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: looking for packetizer module: 42 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread (decoder) created at priority 0 (input/decoder.c:301)
main debug: thread started
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\m1021441\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
lua debug: Trying Lua scripts in C:\Users\m1021441\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms)
main debug: `rtsp://root:vipor123@172.22.66.220:554/ch0_unicast_secondstream' successfully opened
main debug: control type=2
main debug: Buffering 0%
main debug: Buffering 53%
main debug: Buffering 80%
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 4 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: looking for video filter2 module: 30 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for video filter2 module: 30 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: new aspect-ratio 352:240, sample aspect-ratio 1:1
main debug: window size: 352x240
main debug: cropping picture 352x240 to 0,0,352x240
main debug: window size: 352x240
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 2 candidates
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 16 candidates
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 6 candidates
main debug: using vout window hwnd module "drawable"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: VoutDisplayEvent 'resize' 368x278 window
direct3d debug: DirectXUpdateRects image_dst_clipped coords: 0,0,368,250
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,352,240
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: TIMER module_need() : 27.000 ms - Total 27.000 ms / 1 intvls (Avg 27.000 ms)
main debug: using video output module "vout_wrapper"
main debug: TIMER module_need() : 28.000 ms - Total 28.000 ms / 1 intvls (Avg 28.000 ms)
main debug: got 1 direct buffer(s)
main debug: pic render sz 352x240, of (0,0), vsz 352x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 352x240, of (0,0), vsz 352x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 352x240, of (0,0), vsz 352x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
main debug: VoutDisplayEvent 'resize' 283x106 window
direct3d debug: DirectXUpdateRects image_dst_clipped coords: 0,0,155,106
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,352,240
avcodec debug: using direct rendering
main debug: End of video preroll
main debug: Received first picture
main debug: Post-processing available
main warning: vlc_object_find_name(postproc) is not safe!
main debug: Stream buffering done (320 ms in 317 ms)
main debug: Decoder buffering done in 1 ms
main warning: late picture skipped (22011 > -144)
main debug: auto hidding mouse
main warning: late picture skipped (17405 > -184)
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main debug: ES_OUT_RESET_PCR called
main warning: early picture skipped
main debug: Buffering 0%
main debug: Buffering 53%
main debug: Buffering 80%
main debug: Stream buffering done (319 ms in 320 ms)
main debug: End of video preroll
main debug: Received first picture
main debug: Decoder buffering done in 3 ms
main debug: control type=0
main debug: control: stopping input
main debug: thread times: real 0m11.606160s, kernel 0m0.015600s, user 0m0.156001s
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: removing module "avcodec"
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: [0] 0 0
main debug: [1] 0 0
main debug: [2] 0 0
main debug: [3] 0 0
main debug: [4] 0 0
main debug: [5] 0 0
main debug: [6] 0 0
main debug: [7] 0 0
main debug: [8] 0 0
main debug: [9] 0 0
main debug: [10] 0 0
main debug: [11] 4 0
main debug: [12] 2 0
main debug: [13] 4 0
main debug: [14] 4 0
main debug: [15] 0 0
main debug: [16] 0 0
main debug: [17] 0 0
main debug: [18] 0 0
main debug: [19] 0 0
main debug: [20] 0 0
main debug: [21] 0 0
main debug: [22] 0 0
main debug: [23] 0 0
main debug: saving a free vout
main debug: removing module "packetizer_h264"
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: thread times: real 0m11.649164s, kernel 0m0.015600s, user 0m0.046800s
main debug: Destroying the input for 'rtsp://172.22.66.220:554/ch0_unicast_secondstream'
main debug: TIMER input launching for 'rtsp://172.22.66.220:554/ch0_unicast_secondstream' : 43.000 ms - Total 43.000 ms / 1 intvls (Avg 43.000 ms)
main debug: destroying useless vout
direct3d debug: Direct3D scene released successfully
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
main debug: removing module "drawable"
main debug: removing module "direct3d"
main debug: removing module "vout_wrapper"
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: Creating an input for 'rtsp://172.22.66.220:554/ch0_unicast_secondstream'
main debug: thread started
main debug: thread (input) created at priority 1 (input/input.c:220)
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\m1021441\AppData\Local\Temp'
main debug: `rtsp://root:vipor123@172.22.66.220:554/ch0_unicast_secondstream' gives access `rtsp' demux `' path `root:vipor123@172.22.66.220:554/ch0_unicast_secondstream'
main debug: creating demux: access='rtsp' demux='' path='root:vipor123@172.22.66.220:554/ch0_unicast_secondstream'
main debug: looking for access_demux module: 2 candidates
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: TIMER module_need() : 23.000 ms - Total 23.000 ms / 1 intvls (Avg 23.000 ms)
main debug: looking for decoder module: 68 candidates
avcodec debug: libavcodec already initialized
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: looking for packetizer module: 42 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 0 (input/decoder.c:301)
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\m1021441\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
lua debug: Trying Lua scripts in C:\Users\m1021441\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms)
main debug: `rtsp://root:vipor123@172.22.66.220:554/ch0_unicast_secondstream' successfully opened
main debug: control type=2
main debug: Buffering 0%
main debug: Buffering 26%
main debug: Buffering 79%
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 4 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: looking for video filter2 module: 30 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: looking for video filter2 module: 30 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: new aspect-ratio 352:240, sample aspect-ratio 1:1
main debug: window size: 352x240
main debug: cropping picture 352x240 to 0,0,352x240
main debug: window size: 352x240
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 2 candidates
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 16 candidates
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 6 candidates
main debug: using vout window hwnd module "drawable"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: VoutDisplayEvent 'resize' 368x278 window
direct3d debug: DirectXUpdateRects image_dst_clipped coords: 0,0,368,250
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,352,240
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: TIMER module_need() : 42.000 ms - Total 42.000 ms / 1 intvls (Avg 42.000 ms)
main debug: using video output module "vout_wrapper"
main debug: TIMER module_need() : 43.000 ms - Total 43.000 ms / 1 intvls (Avg 43.000 ms)
main debug: got 1 direct buffer(s)
main debug: pic render sz 352x240, of (0,0), vsz 352x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 352x240, of (0,0), vsz 352x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 352x240, of (0,0), vsz 352x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
main debug: VoutDisplayEvent 'resize' 283x106 window
direct3d debug: DirectXUpdateRects image_dst_clipped coords: 0,0,155,106
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,352,240
avcodec debug: using direct rendering
main debug: End of video preroll
main debug: Received first picture
main debug: Stream buffering done (319 ms in 313 ms)
main debug: Decoder buffering done in 0 ms
main debug: Post-processing available
main warning: vlc_object_find_name(postproc) is not safe!
main warning: late picture skipped (49987 > -192)
main debug: auto hidding mouse
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main debug: ES_OUT_RESET_PCR called
main warning: early picture skipped
main debug: Buffering 0%
main debug: Buffering 26%
main debug: Buffering 53%
main debug: End of video preroll
main debug: Received first picture
main debug: Stream buffering done (320 ms in 322 ms)
main debug: Decoder buffering done in 2 ms
main warning: late picture skipped (22011 > -204)
main warning: late picture skipped (21512 > -550)
main warning: late picture skipped (20295 > -285)
main debug: control type=0
main debug: control: stopping input
main debug: thread times: real 0m12.076207s, kernel 0m0.000000s, user 0m0.249601s
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: removing module "avcodec"
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: [0] 0 0
main debug: [1] 0 0
main debug: [2] 0 0
main debug: [3] 0 0
main debug: [4] 0 0
main debug: [5] 0 0
main debug: [6] 0 0
main debug: [7] 0 0
main debug: [8] 0 0
main debug: [9] 0 0
main debug: [10] 0 0
main debug: [11] 2 0
main debug: [12] 4 0
main debug: [13] 4 0
main debug: [14] 2 0
main debug: [15] 0 0
main debug: [16] 0 0
main debug: [17] 0 0
main debug: [18] 0 0
main debug: [19] 0 0
main debug: [20] 0 0
main debug: [21] 0 0
main debug: [22] 0 0
main debug: [23] 0 0
main debug: saving a free vout
main debug: removing module "packetizer_h264"
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: thread times: real 0m12.116211s, kernel 0m0.000000s, user 0m0.046800s
main debug: Destroying the input for 'rtsp://172.22.66.220:554/ch0_unicast_secondstream'
main debug: TIMER input launching for 'rtsp://172.22.66.220:554/ch0_unicast_secondstream' : 38.000 ms - Total 38.000 ms / 1 intvls (Avg 38.000 ms)
main debug: destroying useless vout
direct3d debug: Direct3D scene released successfully
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
Are there any changes done to fix this issues in recent releases? I tried searching for it but could not get any info.
Regards.
Bala