[vlc-commits] es_out: add track title in infos
Thomas Guillem
git at videolan.org
Fri Feb 28 20:46:16 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Feb 19 11:52:27 2020 +0100| [438d29f99998b356a61ab51ef735eed81cd7b125] | committer: Thomas Guillem
es_out: add track title in infos
In order to be able to do a connection between track selection menus and info
dialogs.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=438d29f99998b356a61ab51ef735eed81cd7b125
---
src/input/es_out.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 5cfbd73fe9..14c06285fa 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3903,6 +3903,9 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const vlc_meta_t *p
if( unlikely( !p_cat ) )
return;
+ if( es->psz_title )
+ info_category_AddInfo( p_cat, _("Title"), "%s", es->psz_title );
+
const vlc_fourcc_t i_codec_fourcc = p_fmt_es->i_original_fourcc;
const char *psz_codec_description =
vlc_fourcc_GetDescription( p_fmt_es->i_cat, i_codec_fourcc );
More information about the vlc-commits
mailing list