[vlc-commits] commit: Fixed :drop-late-frames= inheritance in vout. (Laurent Aimar )
git at videolan.org
git at videolan.org
Sat Apr 24 15:34:02 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Apr 24 15:09:24 2010 +0200| [e5cd0b1fd117c683eca0c7f8874c26964bf244f9] | committer: Laurent Aimar
Fixed :drop-late-frames= inheritance in vout.
Reported by ivoire.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5cd0b1fd117c683eca0c7f8874c26964bf244f9
---
src/video_output/video_output.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index a2f2596..9e1b73d 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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->i_par_num =
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->displayed.date = VLC_TS_INVALID;
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 )
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 */
vout_IntfInit( p_vout );
More information about the vlc-commits
mailing list