[vlc-devel] [PATCH 2/2] Fix subtitle loss at segment change.

Denis Charmet typx at dinauz.org
Thu Sep 8 01:08:00 CEST 2011


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

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 8cb7a3b..04bbe88 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2287,7 +2287,10 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
                     p_sys->i_default_audio_id = es->i_id;
                 else*/
                 if( es->fmt.i_cat == SPU_ES )
+                {
                     p_sys->i_default_sub_id = es->i_id;
+                    EsOutSelect( out, es, false );
+                }
             }
             return VLC_SUCCESS;
         }
-- 
1.7.5.4




More information about the vlc-devel mailing list