[vlc-commits] input: remove INPUT_*_PCR

Thomas Guillem git at videolan.org
Thu May 23 10:22:08 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 10 15:47:49 2019 +0200| [816fa6c3763bd1fc864b87e102bfc7d949f17e58] | committer: Thomas Guillem

input: remove INPUT_*_PCR

This was only used by netsync that is disabled for now.
This need to be ported to the new player and clock.

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

 include/vlc_input.h | 19 -------------------
 src/input/control.c | 14 --------------
 2 files changed, 33 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 6191ccd309..c78efec8a2 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -551,10 +551,6 @@ enum input_query_e
     INPUT_NAV_POPUP,
     /** Activate disc Root Menu. res=can fail */
     INPUT_NAV_MENU,
-
-    /* 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 */
 };
 
 /** @}*/
@@ -616,21 +612,6 @@ VLC_API void input_SetPosition( input_thread_t *, float f_position, bool b_fast
  */
 VLC_API input_item_t* input_GetItem( input_thread_t * ) VLC_USED;
 
-/**
- * \see input_clock_GetSystemOrigin
- */
-static inline int input_GetPcrSystem( input_thread_t *p_input, vlc_tick_t *pi_system, vlc_tick_t *pi_delay )
-{
-    return input_Control( p_input, INPUT_GET_PCR_SYSTEM, pi_system, pi_delay );
-}
-/**
- * \see input_clock_ChangeSystemOrigin
- */
-static inline int input_ModifyPcrSystem( input_thread_t *p_input, bool b_absolute, vlc_tick_t i_system )
-{
-    return input_Control( p_input, INPUT_MODIFY_PCR_SYSTEM, b_absolute, i_system );
-}
-
 /* */
 VLC_API decoder_t * input_DecoderCreate( vlc_object_t *, const es_format_t *, input_resource_t * ) VLC_USED;
 VLC_API void input_DecoderDelete( decoder_t * );
diff --git a/src/input/control.c b/src/input/control.c
index 0a979663dd..3dc9f7af43 100644
--- a/src/input/control.c
+++ b/src/input/control.c
@@ -81,20 +81,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
                                + INPUT_CONTROL_NAV_ACTIVATE, NULL );
             return VLC_SUCCESS;
 
-        case INPUT_GET_PCR_SYSTEM:
-        {
-            vlc_tick_t *pi_system = va_arg( args, vlc_tick_t * );
-            vlc_tick_t *pi_delay  = va_arg( args, vlc_tick_t * );
-            return es_out_ControlGetPcrSystem( priv->p_es_out_display, pi_system, pi_delay );
-        }
-
-        case INPUT_MODIFY_PCR_SYSTEM:
-        {
-            bool b_absolute = va_arg( args, int );
-            vlc_tick_t i_system = va_arg( args, vlc_tick_t );
-            return es_out_ControlModifyPcrSystem( priv->p_es_out_display, b_absolute, i_system );
-        }
-
         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