[vlc-commits] input: es_out: fix old title on program change
Francois Cartegnie
git at videolan.org
Tue Dec 20 21:42:46 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 20 17:51:56 2016 +0100| [6295816c0310e55c4f43aa1749d08bc8dcd99025] | committer: Francois Cartegnie
input: es_out: fix old title on program change
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6295816c0310e55c4f43aa1749d08bc8dcd99025
---
src/input/es_out.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 2bc4c5d..5007124 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1059,7 +1059,9 @@ static void EsOutProgramSelect( es_out_t *out, es_out_pgrm_t *p_pgrm )
p_pgrm->p_meta ? vlc_meta_Get( p_pgrm->p_meta, vlc_meta_ESNowPlaying ) : NULL );
input_item_SetPublisher( input_priv(p_input)->p_item,
p_pgrm->p_meta ? vlc_meta_Get( p_pgrm->p_meta, vlc_meta_Publisher ) : NULL);
-
+ input_item_SetTitle( input_priv(p_input)->p_item,
+ p_pgrm->p_meta ? vlc_meta_Get( p_pgrm->p_meta, vlc_meta_Title ) : NULL );
+ /* FIXME: we probably want to replace every input meta */
input_SendEventMeta( p_input );
}
More information about the vlc-commits
mailing list