[vlc-devel] [PATCH 08/18] input: remove INPUT_SET_RENDERER

Thomas Guillem thomas at gllm.fr
Fri May 10 16:03:12 CEST 2019


This is now directly handled by the player.
---
 include/vlc_input.h | 3 ---
 src/input/control.c | 8 --------
 2 files changed, 11 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 13326b891a..3e6ea1f7dc 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -578,9 +578,6 @@ enum input_query_e
     INPUT_GET_AOUT,         /* arg1=audio_output_t **              res=can fail */
     INPUT_GET_VOUTS,        /* arg1=vout_thread_t ***, size_t *        res=can fail */
 
-    /* Renderers */
-    INPUT_SET_RENDERER,     /* arg1=vlc_renderer_item_t* */
-
     /* External clock managments */
     INPUT_GET_PCR_SYSTEM,   /* arg1=vlc_tick_t *, arg2=vlc_tick_t *       res=can fail */
     INPUT_MODIFY_PCR_SYSTEM,/* arg1=int absolute, arg2=vlc_tick_t   res=can fail */
diff --git a/src/input/control.c b/src/input/control.c
index 06fd324591..3af1597c6c 100644
--- a/src/input/control.c
+++ b/src/input/control.c
@@ -304,14 +304,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
             return es_out_ControlModifyPcrSystem( priv->p_es_out_display, b_absolute, i_system );
         }
 
-        case INPUT_SET_RENDERER:
-        {
-            vlc_renderer_item_t* p_item = va_arg( args, vlc_renderer_item_t* );
-            val.p_address = p_item ? vlc_renderer_item_hold( p_item ) : NULL;
-            input_ControlPushHelper( p_input, INPUT_CONTROL_SET_RENDERER, &val );
-            return VLC_SUCCESS;
-        }
-
         default:
             msg_Err( p_input, "unknown query 0x%x in %s", i_query, __func__ );
             return VLC_EGENERIC;
-- 
2.20.1



More information about the vlc-devel mailing list