[vlc-commits] input: item: EPG lookups/updates needs program+id
Francois Cartegnie
git at videolan.org
Tue Dec 20 21:42:46 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Dec 19 14:37:06 2016 +0100| [710d099a26e1e1a024a19e20c3df45e646fb50b5] | committer: Francois Cartegnie
input: item: EPG lookups/updates needs program+id
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=710d099a26e1e1a024a19e20c3df45e646fb50b5
---
src/input/item.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/input/item.c b/src/input/item.c
index a30188a..c5f4977 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -906,7 +906,8 @@ void input_item_SetEpg( input_item_t *p_item, const vlc_epg_t *p_update )
vlc_epg_t *p_epg = NULL;
for( int i = 0; i < p_item->i_epg; i++ )
{
- if( p_item->pp_epg[i]->i_source_id == p_update->i_source_id )
+ if( p_item->pp_epg[i]->i_source_id == p_update->i_source_id &&
+ p_item->pp_epg[i]->i_id == p_update->i_id )
{
p_epg = p_item->pp_epg[i];
break;
More information about the vlc-commits
mailing list