[vlc-commits] vout_intf: do not call vout_IntfReinit() from vout_Intf()
Rémi Denis-Courmont
git at videolan.org
Sat Jan 26 19:50:40 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 24 19:42:34 2019 +0200| [6a646cd06c518ff6cd3ff4c14e02bc0709f9c939] | committer: Rémi Denis-Courmont
vout_intf: do not call vout_IntfReinit() from vout_Intf()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a646cd06c518ff6cd3ff4c14e02bc0709f9c939
---
src/video_output/video_output.c | 1 +
src/video_output/vout_intf.c | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 88ea8758eb..4b59cc70c4 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -143,6 +143,7 @@ static vout_thread_t *VoutCreate(vlc_object_t *object,
/* Take care of some "interface/control" related initialisations */
vout_IntfInit(vout);
+ vout_IntfReinit(vout);
/* Initialize subpicture unit */
vout->p->spu = spu_Create(vout, vout);
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index d41dff7063..22b0527355 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -298,8 +298,6 @@ void vout_IntfInit( vout_thread_t *p_vout )
var_Create( p_vout, "viewpoint", VLC_VAR_ADDRESS );
var_AddCallback( p_vout, "viewpoint", ViewpointCallback, NULL );
var_Create( p_vout, "viewpoint-changeable", VLC_VAR_BOOL );
-
- vout_IntfReinit( p_vout );
}
void vout_IntfReinit( vout_thread_t *p_vout )
More information about the vlc-commits
mailing list