Commit e5cd0b1f authored by Laurent Aimar's avatar Laurent Aimar

Fixed :drop-late-frames= inheritance in vout.

Reported by ivoire.
parent 47541692
...@@ -299,7 +299,6 @@ vout_thread_t * (vout_Create)( vlc_object_t *p_parent, video_format_t *p_fmt ) ...@@ -299,7 +299,6 @@ vout_thread_t * (vout_Create)( vlc_object_t *p_parent, video_format_t *p_fmt )
p_vout->p->b_filter_change = 0; p_vout->p->b_filter_change = 0;
p_vout->p->i_par_num = p_vout->p->i_par_num =
p_vout->p->i_par_den = 1; p_vout->p->i_par_den = 1;
p_vout->p->is_late_dropped = var_InheritBool( p_vout, "drop-late-frames" );
p_vout->p->b_picture_empty = false; p_vout->p->b_picture_empty = false;
p_vout->p->displayed.date = VLC_TS_INVALID; p_vout->p->displayed.date = VLC_TS_INVALID;
p_vout->p->displayed.decoded = NULL; p_vout->p->displayed.decoded = NULL;
...@@ -345,6 +344,8 @@ vout_thread_t * (vout_Create)( vlc_object_t *p_parent, video_format_t *p_fmt ) ...@@ -345,6 +344,8 @@ vout_thread_t * (vout_Create)( vlc_object_t *p_parent, video_format_t *p_fmt )
spu_Attach( p_vout->p->p_spu, VLC_OBJECT(p_vout), true ); spu_Attach( p_vout->p->p_spu, VLC_OBJECT(p_vout), true );
p_vout->p->is_late_dropped = var_InheritBool( p_vout, "drop-late-frames" );
/* Take care of some "interface/control" related initialisations */ /* Take care of some "interface/control" related initialisations */
vout_IntfInit( p_vout ); vout_IntfInit( p_vout );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment