Page 1 of 1

Weird freezes: "picture is too late to be displayed"

Posted: 01 Jun 2014 21:21
by thesaint
Hi,

I am using libvlc in my own media player.

I pass no arguments except the file to play.
I am using "libvlc_media_player_set_hwnd" to set the window handle.
If I am not using the above function, then there are no freezes.
If I start the process fromw ithin Visual Studio, there are no freezes.
If I keep the playback window focused, there are no freezes.

BUT, if I start my player without an attached debugger, and if I focus another window, like Google Chrome and type in there, then the player freezes with the message:

" main video output warning: picture is too late to be displayed (missing 669 ms)"

This message occurs up to half a minute until it keeps playing for a few seconds and freezes again.

This is a very weird issue and I need this resolved. I remember having this issue a few years ago too when I was playing around with VLC, seems nothing has changed there. I am using the latest version 2.1.3

Thanks a lot.

Re: Weird freezes: "picture is too late to be displayed"

Posted: 01 Jun 2014 22:27
by thesaint
Well, programmatically attaching WinDbg.exe with "-g -p" does the trick also... Then just hide all its windows and nothing is visible, except that it won't freeze anymore. :shock: ugly workaround