[vlc-commits] Revert "Add SNR and signal level for access_demux"

Rémi Denis-Courmont git at videolan.org
Sat Apr 13 20:06:58 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 13 19:33:29 2013 +0300| [3a6811011dd17300192ac32df9883d38ebf83ead] | committer: Rémi Denis-Courmont

Revert "Add SNR and signal level for access_demux"

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

Conflicts:
	include/vlc_demux.h

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

 include/vlc_demux.h |    2 --
 src/input/input.c   |   12 ------------
 2 files changed, 14 deletions(-)

diff --git a/include/vlc_demux.h b/include/vlc_demux.h
index c0cea07..332d619 100644
--- a/include/vlc_demux.h
+++ b/include/vlc_demux.h
@@ -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 */
diff --git a/src/input/input.c b/src/input/input.c
index d8ed8d6..306a91a 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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;
 }



More information about the vlc-commits mailing list