Ok so last night windows did a automatic update on my computer, and now i cant play .avi files in any player.
I have tried rebooting, reinstalling codec drivers, (k-lite codec pack & nimo codec pack). Also i have the newest version of VLC player ofc.
I can get sound in VLC but no image. This is the same for all my avi files, and some mpg files and wmv files. But most wmv files will play.
Here is the last part of the VLC message error feed:
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
vout_directx error: cannot lock surface
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
vout_directx debug: YUV overlay created successfully
vout_directx debug: DirectXCloseSurface
vout_directx error: cannot lock surface
vout_directx debug: NewPictureVec overlay:yes chroma:YUY2
vout_directx debug: YUV overlay created successfully
vout_directx debug: DirectXCloseSurface
vout_directx error: cannot lock surface
vout_directx debug: NewPictureVec overlay:no chroma:YV12
vout_directx debug: created plain surface of chroma:YV12
vout_directx debug: DirectXCloseSurface
vout_directx error: cannot lock surface
main error: plugin was unable to allocate at least one direct buffer
vout_directx debug: DirectXCloseDisplay
vout_directx debug: DirectXCloseDisplay clipper
vout_directx debug: DirectXCloseDisplay display
vout_directx debug: DirectXCloseDDraw
main debug: thread 4692 (video output) created at priority 1 (video_output/video_output.c:421)
main error: video output creation failed
vout_directx debug: CloseVideo
vout_directx debug: DirectXEventThread terminating
vout_directx debug: DirectXCloseWindow
vout_directx debug: WinProc WM_DESTROY
main debug: thread times: real 0m0.187500s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4260 joined (directx.c:509)
main debug: removing module "vout_directx"
main debug: thread times: real 0m0.171875s, kernel 0m0.125000s, user 0m0.000000s
main debug: thread 4692 joined (video_output/video_output.c:437)
main error: cannot delete object (397, (null)) with children
main error: failed to create video output
Please help me, im desperate! '
Also here is a image from the program Gspot, that shows what error occurs there.