"This option will drop/duplicate video frames to synchronise the video " \
"track on the audio track." )
-#define HURRYUP_TEXT N_( "Hurry up" )
-#define HURRYUP_LONGTEXT N_( "The transcoder will drop frames if your CPU " \
- "can't keep up with the encoding rate." )
static const char *const ppsz_deinterlace_type[] =
{
SCALE_LONGTEXT, false )
add_string( SOUT_CFG_PREFIX "fps", NULL, FPS_TEXT,
FPS_LONGTEXT, false )
- add_bool( SOUT_CFG_PREFIX "hurry-up", false, HURRYUP_TEXT,
- HURRYUP_LONGTEXT, false )
+ add_obsolete_bool( SOUT_CFG_PREFIX "hurry-up"); /* Since 2.2.0 */
add_bool( SOUT_CFG_PREFIX "deinterlace", false, DEINTERLACE_TEXT,
DEINTERLACE_LONGTEXT, false )
add_string( SOUT_CFG_PREFIX "deinterlace-module", "deinterlace",
static const char *const ppsz_sout_options[] = {
"venc", "vcodec", "vb",
"scale", "fps", "width", "height", "vfilter", "deinterlace",
- "deinterlace-module", "threads", "hurry-up", "aenc", "acodec", "ab", "alang",
+ "deinterlace-module", "threads", "aenc", "acodec", "ab", "alang",
"afilter", "samplerate", "channels", "senc", "scodec", "soverlay",
"sfilter", "osd", "audio-sync", "high-priority", "maxwidth", "maxheight",
NULL
p_sys->b_master_sync = var_InheritURational( p_stream, &p_sys->fps_num, &p_sys->fps_den, SOUT_CFG_PREFIX "fps" );
- p_sys->b_hurry_up = var_GetBool( p_stream, SOUT_CFG_PREFIX "hurry-up" );
-
p_sys->i_width = var_GetInteger( p_stream, SOUT_CFG_PREFIX "width" );
p_sys->i_height = var_GetInteger( p_stream, SOUT_CFG_PREFIX "height" );
while( (p_pic = id->p_decoder->pf_decode_video( id->p_decoder, &in )) )
{
- if( p_stream->p_sout->i_out_pace_nocontrol && p_sys->b_hurry_up )
- {
- mtime_t current_date = mdate();
- if( unlikely( (current_date - 50000) > p_pic->date ) )
- {
- msg_Dbg( p_stream, "late picture skipped (%"PRId64")",
- current_date - 50000 - p_pic->date );
- picture_Release( p_pic );
- continue;
- }
- }
-
if( unlikely (
id->p_encoder->p_module &&
!video_format_IsSimilar( &p_sys->fmt_input_video, &id->p_decoder->fmt_out.video )