[vlc-commits] input: rename VLC_INPUT_EVENT_VOUT_REMOVED event

Thomas Guillem git at videolan.org
Mon Sep 10 16:23:43 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Sep 10 16:22:42 2018 +0200| [809c7741f7ef810e9aa2b3dbbe87977af33df49f] | committer: Thomas Guillem

input: rename VLC_INPUT_EVENT_VOUT_REMOVED event

Rename it to VLC_INPUT_EVENT_VOUT_DELETED, for consistency with others events
(es, programs).

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

 include/vlc_input.h  | 2 +-
 src/input/resource.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index e6622b386f..30c6e4b366 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -453,7 +453,7 @@ struct vlc_input_event_vout
 {
     enum {
         VLC_INPUT_EVENT_VOUT_ADDED,
-        VLC_INPUT_EVENT_VOUT_REMOVED,
+        VLC_INPUT_EVENT_VOUT_DELETED,
     } action;
     vout_thread_t *vout;
 };
diff --git a/src/input/resource.c b/src/input/resource.c
index 58829a977e..6b826d817b 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -269,7 +269,7 @@ static vout_thread_t *RequestVout( input_resource_t *p_resource,
         if( p_resource->p_input )
             input_SendEventVout( p_resource->p_input,
                 &(struct vlc_input_event_vout) {
-                    .action = VLC_INPUT_EVENT_VOUT_REMOVED,
+                    .action = VLC_INPUT_EVENT_VOUT_DELETED,
                     .vout = cfg.vout,
                 });
 



More information about the vlc-commits mailing list