[vlc-commits] es_out: remove now unused hacks

Thomas Guillem git at videolan.org
Mon Jun 3 16:16:45 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jun  3 10:26:39 2019 +0200| [214d9a45114c14f8ca9e2becc326a152426a785f] | committer: Thomas Guillem

es_out: remove now unused hacks

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

 src/input/es_out.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index d106926a26..868ecbe9a1 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3438,8 +3438,6 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const vlc_meta_t *p
         {
             info_category_AddInfo( p_cat, _("Sample rate"), _("%u Hz"),
                                    fmt->audio.i_rate );
-            /* FIXME that should be removed or improved ! (used by text/strings.c) */
-            var_SetInteger( p_input, "sample-rate", fmt->audio.i_rate );
         }
 
         unsigned int i_bitspersample = fmt->audio.i_bitspersample;
@@ -3453,8 +3451,6 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const vlc_meta_t *p
         {
             info_category_AddInfo( p_cat, _("Bitrate"), _("%u kb/s"),
                                    fmt->i_bitrate / 1000 );
-            /* FIXME that should be removed or improved ! (used by text/strings.c) */
-            var_SetInteger( p_input, "bit-rate", fmt->i_bitrate );
         }
         for( int i = 0; i < AUDIO_REPLAY_GAIN_MAX; i++ )
         {



More information about the vlc-commits mailing list