Commit 3a681101 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "Add SNR and signal level for access_demux"

This reverts commit 7a15955a.
This was never actually used; it was inadequate for V4L.

Conflicts:
	include/vlc_demux.h
parent 4c56d345
......@@ -160,8 +160,6 @@ enum demux_query_e
DEMUX_CAN_SEEK, /* arg1= bool* can fail (assume false)*/
DEMUX_GET_SIGNAL, /* arg1= double * arg2= double * can fail */
/* Navigation */
DEMUX_NAV_ACTIVATE, /* res=can fail */
DEMUX_NAV_UP, /* res=can fail */
......
......@@ -2250,18 +2250,6 @@ static void UpdateGenericFromDemux( input_thread_t *p_input )
}
p_demux->info.i_update &= ~INPUT_UPDATE_META;
}
if( p_demux->info.i_update & INPUT_UPDATE_SIGNAL )
{
double quality;
double strength;
if( demux_Control( p_demux, DEMUX_GET_SIGNAL, &quality, &strength ) )
quality = strength = -1.;
input_SendEventSignal( p_input, quality, strength );
p_demux->info.i_update &= ~INPUT_UPDATE_SIGNAL;
}
p_demux->info.i_update &= ~INPUT_UPDATE_SIZE;
}
......
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