"This option enables framedropping on MPEG2 stream. Framedropping " \
"occurs when your computer is not powerful enough" )
+#define DROP_LATE_FRAMES_TEXT N_("Drop late frames")
+#define DROP_LATE_FRAMES_LONGTEXT N_( \
+ "This drops frames that are late (arrive to the video output after " \
+ "their intended display date)." )
+
+
+
#define QUIET_SYNCHRO_TEXT N_("Quiet synchro")
#define QUIET_SYNCHRO_LONGTEXT N_( \
"Enable this option to avoid flooding the message log with debug " \
add_bool( "fullscreen", 0, NULL, FULLSCREEN_TEXT,
FULLSCREEN_LONGTEXT, VLC_FALSE );
change_short('f');
- add_bool( "skip-frames", 1, NULL, SKIP_FRAMES_TEXT,
+ add_bool( "drop-late-frames", 1, NULL, DROP_LATE_FRAMES_TEXT,
+ DROP_LATE_FRAMES_LONGTEXT, VLC_TRUE );
+ /* Used in vout_synchro */
+ add_bool( "skip-frames", 0, NULL, SKIP_FRAMES_TEXT,
SKIP_FRAMES_LONGTEXT, VLC_TRUE );
add_bool( "quiet-synchro", 0, NULL, QUIET_SYNCHRO_TEXT,
QUIET_SYNCHRO_LONGTEXT, VLC_TRUE );
if( !p_picture->b_force &&
p_picture != p_last_picture &&
display_date < current_date + p_vout->render_time &&
- config_GetInt( p_vout, "skip-frames" ) )
+ config_GetInt( p_vout, "drop-late-frames" ) )
{
/* Picture is late: it will be destroyed and the thread
* will directly choose the next picture */