Commit 02311b59 authored by Laurent Aimar's avatar Laurent Aimar

Removed broken ES_OUT_GET_TS.

parent 1b7abb6b
...@@ -68,10 +68,6 @@ enum es_out_query_e ...@@ -68,10 +68,6 @@ enum es_out_query_e
ES_OUT_SET_GROUP_PCR, /* arg1= int i_group, arg2=int64_t i_pcr(microsecond!)*/ ES_OUT_SET_GROUP_PCR, /* arg1= int i_group, arg2=int64_t i_pcr(microsecond!)*/
ES_OUT_RESET_PCR, /* no arg */ ES_OUT_RESET_PCR, /* no arg */
/* Timestamp handling, convert an input timestamp to a global clock one.
* (shouldn't have to be used by input plugins directly) */
ES_OUT_GET_TS, /* arg1=int64_t i_ts(microsecond!) (using default group 0), arg2=int64_t* converted i_ts */
/* Try not to use this one as it is a bit hacky */ /* Try not to use this one as it is a bit hacky */
ES_OUT_SET_ES_FMT, /* arg1= es_out_id_t* arg2=es_format_t* */ ES_OUT_SET_ES_FMT, /* arg1= es_out_id_t* arg2=es_format_t* */
......
...@@ -2194,17 +2194,6 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args ) ...@@ -2194,17 +2194,6 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
EsOutChangePosition( out ); EsOutChangePosition( out );
return VLC_SUCCESS; return VLC_SUCCESS;
case ES_OUT_GET_TS:
if( p_sys->p_pgrm )
{
int64_t i_ts = (int64_t)va_arg( args, int64_t );
int64_t *pi_ts = (int64_t *)va_arg( args, int64_t * );
*pi_ts = input_clock_GetTS( p_sys->p_pgrm->p_clock, NULL,
p_sys->p_input->i_pts_delay, i_ts );
return VLC_SUCCESS;
}
return VLC_EGENERIC;
case ES_OUT_SET_GROUP: case ES_OUT_SET_GROUP:
{ {
int j; int j;
......
...@@ -582,10 +582,6 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args ) ...@@ -582,10 +582,6 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args )
assert(0); assert(0);
return VLC_EGENERIC; return VLC_EGENERIC;
/* TODO ? or to remove ? */
case ES_OUT_GET_TS:
return VLC_EGENERIC;
/* Pass-through control */ /* Pass-through control */
case ES_OUT_SET_ACTIVE: case ES_OUT_SET_ACTIVE:
case ES_OUT_SET_MODE: case ES_OUT_SET_MODE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment