[vlc-commits] vout: remove write-only dead flag

Rémi Denis-Courmont git at videolan.org
Sun Jan 27 22:10:18 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 27 22:07:27 2019 +0200| [591fba9d1b8682f5a141fcf8eeecc4efb2164580] | committer: Rémi Denis-Courmont

vout: remove write-only dead flag

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=591fba9d1b8682f5a141fcf8eeecc4efb2164580
---

 src/video_output/video_output.c  | 3 ---
 src/video_output/vout_internal.h | 1 -
 2 files changed, 4 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 682f99b50e..229bc70cff 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1591,7 +1591,6 @@ static void *Thread(void *object)
     }
 
 out:
-    vout->p->dead = true;
     return NULL;
 }
 
@@ -1700,7 +1699,6 @@ static vout_thread_t *VoutCreate(vlc_object_t *object,
     vlc_mutex_init(&sys->spu_lock);
     sys->spu = spu_Create(vout, vout);
 
-    sys->dead = false;
     vout_control_Init(&sys->control);
 
     sys->pause.is_on = false;
@@ -1803,7 +1801,6 @@ vout_thread_t *vout_Request(vlc_object_t *object,
         msg_Dbg(object, "reusing provided vout");
         vlc_join(sys->thread, NULL);
 
-        sys->dead = false;
         sys->mouse_event = cfg->mouse_event;
         sys->opaque = cfg->opaque;
         sys->pause.is_on = false;
diff --git a/src/video_output/vout_internal.h b/src/video_output/vout_internal.h
index a005b0acba..71968a3c7e 100644
--- a/src/video_output/vout_internal.h
+++ b/src/video_output/vout_internal.h
@@ -111,7 +111,6 @@ struct vout_thread_sys_t
 
     /* Thread & synchronization */
     vlc_thread_t    thread;
-    bool            dead;
     vout_control_t  control;
 
     struct {



More information about the vlc-commits mailing list