[vlc-commits] vout: remove dead code
Rémi Denis-Courmont
git at videolan.org
Sun Feb 24 14:57:53 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 24 15:52:44 2019 +0200| [4517fe61ff966ee6a1470eeb9a0b4b5f245fe87c] | committer: Rémi Denis-Courmont
vout: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4517fe61ff966ee6a1470eeb9a0b4b5f245fe87c
---
src/video_output/video_output.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index bb7f2b6417..d9ce06595a 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1789,11 +1789,6 @@ int vout_Request(const vout_configuration_t *cfg, input_thread_t *input)
vout_UpdateWindowSize(vout);
vlc_mutex_unlock(&vout->p->window_lock);
- if (cfg->vout == NULL) {
- if (input != NULL)
- vout->p->input = vlc_object_hold((vlc_object_t *)input);
- }
-
if (vout_Start(vout, cfg)
|| vlc_clone(&sys->thread, Thread, vout, VLC_THREAD_PRIORITY_OUTPUT)) {
error:
More information about the vlc-commits
mailing list