[vlc-commits] input: remove INPUT_SET_RENDERER

Thomas Guillem git at videolan.org
Thu May 23 10:21:59 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 10 15:10:27 2019 +0200| [7723dd007f72fc79818249b4a914584f9017fe0d] | committer: Thomas Guillem

input: remove INPUT_SET_RENDERER

This is now directly handled by the player.

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

 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;



More information about the vlc-commits mailing list