[vlc-commits] input: es_out: set EPG by source id

Francois Cartegnie git at videolan.org
Thu Oct 13 19:23:43 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 13 19:22:25 2016 +0200| [c3da125392bbc122270b8dd16e2b75293f7fc7b1] | committer: Francois Cartegnie

input: es_out: set EPG by source id

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

 src/input/es_out.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 3e6b575..e2709ae 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1337,7 +1337,7 @@ static void EsOutProgramEpg( es_out_t *out, int i_group, const vlc_epg_t *p_epg
     {
         const vlc_epg_t *p_tmp = p_item->pp_epg[i];
 
-        if( p_tmp->psz_name && !strcmp(p_tmp->psz_name, psz_cat) )
+        if( p_tmp->i_source_id == p_pgrm->i_id )
         {
             if( p_tmp->p_current && p_tmp->p_current->psz_name && *p_tmp->p_current->psz_name )
                 p_pgrm->psz_now_playing = strdup( p_tmp->p_current->psz_name );



More information about the vlc-commits mailing list