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

This forum is about all development around libVLC.
thesaint
New Cone
New Cone
Posts: 2
Joined: 01 Jun 2014 21:16

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

Postby thesaint » 01 Jun 2014 21:21

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.

thesaint
New Cone
New Cone
Posts: 2
Joined: 01 Jun 2014 21:16

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

Postby thesaint » 01 Jun 2014 22:27

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests