How to modify the setting for late packet

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
soho1001
Blank Cone
Blank Cone
Posts: 19
Joined: 06 Sep 2013 07:53

How to modify the setting for late packet

Postby soho1001 » 23 Sep 2013 11:32

Hi ,

When I check VLC source code,
I see the code segment below:

Code: Select all

if( !p_dec->b_pace_control && (p_sys->i_late_frames > 0) && (mdate() - p_sys->i_late_frames_start > INT64_C(5000000)) ) { if( p_sys->i_pts > VLC_TS_INVALID ) { msg_Err( p_dec, "more than 5 seconds of late video -> " "dropping frame (computer too slow ?)" ); p_sys->i_pts = VLC_TS_INVALID; /* To make sure we recover properly */ } block_Release( p_block ); p_sys->i_late_frames--; return NULL; }
It is vlc-2.0.8/modules/codec/avcodec/video.c, function DecodeVideo()
Why the time is 5 seconds? Is it possible to support configurable?
Because if I use WiFi 2.4G to play a live stream, it is very easily to get the message:
"more than 5 seconds of late video ->dropping frame (computer too slow ?)"
then video is freeze. It can not recover in case I see the message.
Is it possible to enable for configurable?

Lotesdelere
Cone Master
Cone Master
Posts: 9853
Joined: 08 Sep 2006 04:39
Location: Europe

Re: How to modify the setting for late packet

Postby Lotesdelere » 25 Sep 2013 09:20



Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests