]> git.sesse.net Git - vlc/commitdiff
Fixed selected entry in input_thread_t::"program".
authorLaurent Aimar <fenrir@videolan.org>
Tue, 26 Jan 2010 19:39:34 +0000 (20:39 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 26 Jan 2010 20:10:01 +0000 (21:10 +0100)
src/input/es_out.c

index 8a55217d5ae18dc1ba478f568e64b8309d366450..d62e23593851e8b9993a11cfa26daf4aa0e4c198 100644 (file)
@@ -1214,7 +1214,8 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, const vlc_meta_t *p_me
         {
             input_SendEventProgramDel( p_input, i_group );
             input_SendEventProgramAdd( p_input, i_group, psz_text );
-
+            if( p_sys->p_pgrm == p_pgrm )
+                input_SendEventProgramSelect( p_input, i_group );
             free( psz_text );
         }
     }