[vlc-devel] commit: Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable. ( Laurent Aimar )

Geoffroy Couprie geal at videolan.org
Wed May 20 15:27:15 CEST 2009


git version control a écrit :
> vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon May 11 20:49:09 2009 +0200| [724461bdf250e856eb32f6c0b7c51b065e482982] | committer: Laurent Aimar 
>
> Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
>
>  There will be some regressions, I used automatic sed replacement with manual
> checks but there was a lot to change.
>  It's only the first pass.
>
>   
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=724461bdf250e856eb32f6c0b7c51b065e482982
>>     
Hello: Direct3d and DirectX vout seem broken after this commit (and I 
don't know how to fix it...).
For d3d, I've got many lines like that: direct3d video output debug: 
Direct3DVoutUnlockSurface:1212 (hr=0x8876086C)

UnlockRect fails, so there must be something wrong in 
Direct3DVoutCreatePictures.

Here is a part of the log:

[0x605f3ec] main decoder debug: looking for decoder module: 32 candidates
[0x605f3ec] avcodec decoder debug: libavcodec initialized (interface 
0x341100)
[0x605f3ec] avcodec decoder debug: using direct rendering
[0x605f3ec] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[0x605f3ec] main decoder debug: using decoder module "avcodec"
[0x605f3ec] main decoder debug: TIMER module_need() : 23.000 ms - Total 
23.000 ms / 1 intvls (Avg 23.000 ms)
[0x605f3ec] main decoder debug: thread (decoder) created at priority 0 
(../../vlc/src/input/decoder.c:315)
[0x605f3ec] main decoder debug: thread started
[0x75f80c4] main decoder debug: looking for decoder module: 32 candidates
[0x75f80c4] main decoder debug: using decoder module "mpeg_audio"
[0x75f80c4] main decoder debug: TIMER module_need() : 0.000 ms - Total 
0.000 ms / 1 intvls (Avg 0.000 ms)
[0x75f80c4] main decoder debug: thread (decoder) created at priority 2 
(../../vlc/src/input/decoder.c:315)
[0x75f80c4] main decoder debug: thread started
[0x16c0b1c] main input debug: no usable vout present, spawning one
[0x76613d4] main scale debug: looking for video filter2 module: 20 
candidates
[0x76613d4] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: 
YUVA with scaling using Bicubic (good quality)
[0x76613d4] main scale debug: using video filter2 module "swscale"
[0x76613d4] main scale debug: TIMER module_need() : 4.000 ms - Total 
4.000 ms / 1 intvls (Avg 4.000 ms)
[0x766171c] main scale debug: looking for video filter2 module: 20 
candidates
[0x16c64bc] main generic debug: thread started
[0x16c64bc] main generic debug: thread ended
[0x766171c] yuvp scale debug: YUVP to YUVA converter
[0x766171c] main scale debug: using video filter2 module "yuvp"
[0x766171c] main scale debug: TIMER module_need() : 7.000 ms - Total 
7.000 ms / 1 intvls (Avg 7.000 ms)
[0x75e9104] main video output debug: window size: 624x352
[0x75e9104] main video output debug: looking for video output module: 7 
candidates
[0x75e9104] direct3d video output debug: creating Vout EventThread
[0x16c0d9c] main generic debug: thread (Vout Events Thread) created at 
priority 0 (../../../../vlc/modules/video_output/msw/direct3d.c:218)
[0x16c0d9c] main generic debug: thread started
[0x75e9104] direct3d video output debug: DirectXCreateWindow
[0x16fb254] main window debug: looking for hwnd module: 3 candidates
[0x4e2bdc] main libvlc warning: Could not inherit value for var 
drawable-hwnd from config. Invalid Type
[0x16fb254] main window debug: using hwnd module "qt4"
[0x16fb254] main window debug: TIMER module_need() : 5.000 ms - Total 
5.000 ms / 1 intvls (Avg 5.000 ms)
[0x75e9104] direct3d video output debug: created video sub-window
[0x75e9104] direct3d video output debug: Vout EventThread running
[0x75e9104] direct3d video output debug: disabling screen saver
[0x75e9104] main video output debug: using video output module "direct3d"
[0x75e9104] main video output debug: TIMER module_need() : 62.000 ms - 
Total 62.000 ms / 1 intvls (Avg 62.000 ms)
[0x75e9104] main video output debug: Deinterlacing available
[0x75e9104] direct3d video output debug: Direct3D device adapter 
successfully initialized
[0x75e9104] direct3d video output debug: selected surface pixel format 
is YUY2
[0x75e9104] direct3d video output debug: 1 Direct3D pictures created 
successfully
[0x75e9104] direct3d video output debug: Direct3D scene created successfully
[0x75e9104] main video output debug: got 1 direct buffer(s)
[0x75e9104] main video output debug: pic render sz 624x352, of (0,0), 
vsz 624x352, 4cc I420, ar 382909:216000, sar 1:1, msk r0x0 g0x0 b0x0
[0x75e9104] main video output debug: pic in sz 624x352, of (0,0), vsz 
624x352, 4cc I420, ar 382909:216000, sar 1:1, msk r0x0 g0x0 b0x0
[0x75e9104] main video output debug: pic out sz 624x352, of (0,0), vsz 
624x352, 4cc YUY2, ar 382909:216000, sar 1:1, msk r0x0 g0x0 b0x0
[0x7661a64] main chroma debug: looking for video filter2 module: 20 
candidates
[0x7661a64] main chroma debug: using video filter2 module "i420_yuy2_sse2"
[0x7661a64] main chroma debug: TIMER module_need() : 0.000 ms - Total 
0.000 ms / 1 intvls (Avg 0.000 ms)
[0x75e9104] main video output debug: indirect render, mapping render 
pictures 0-15 to system pictures 1-16
[0x605f3ec] main decoder debug: End of video preroll
[0x605f3ec] main decoder debug: Received first picture
[0x7661dac] main blend debug: looking for video blending module: 1 candidate
[0x7661dac] blend blend debug: chroma: YUVA -> YUY2
[0x7661dac] main blend debug: using video blending module "blend"
[0x7661dac] main blend debug: TIMER module_need() : 1.000 ms - Total 
1.000 ms / 1 intvls (Avg 1.000 ms)
[0x75e9104] direct3d video output debug: Direct3DVoutUnlockSurface:1212 
(hr=0x8876086C)




More information about the vlc-devel mailing list