[vlc-devel] [PATCH 4/4] es_out: remove now unused hacks
Thomas Guillem
thomas at gllm.fr
Mon Jun 3 10:28:14 CEST 2019
---
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++ )
{
--
2.20.1
More information about the vlc-devel
mailing list