[vlc-devel] commit: Fixed selected entry in input_thread_t::"program". (Laurent Aimar )

git version control git at videolan.org
Tue Jan 26 21:10:15 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jan 26 20:39:34 2010 +0100| [72665ee3dbccce404e11577e7a22255da41ce8fd] | committer: Laurent Aimar 

Fixed selected entry in input_thread_t::"program".

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

 src/input/es_out.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 8a55217..d62e235 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -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 );
         }
     }




More information about the vlc-devel mailing list