]> git.sesse.net Git - vlc/commitdiff
Fixed subtitle pausing.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 17 Sep 2008 18:36:03 +0000 (20:36 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 17 Sep 2008 18:36:56 +0000 (20:36 +0200)
src/video_output/video_output.c

index 06c1ad468c9bd8364884d70ef7e9c79ea29da071..caa7bb74ab1b2c9ee1ada8bfccca590827f73f01 100644 (file)
@@ -974,7 +974,7 @@ static void* RunThread( vlc_object_t *p_this )
         {
             p_input = vlc_object_find( p_vout, VLC_OBJECT_INPUT, FIND_PARENT );
             p_subpic = spu_SortSubpictures( p_vout->p_spu, display_date,
-                                            p_input ? var_GetBool( p_input, "state" ) == PAUSE_S : false,
+                                            p_input ? var_GetInteger( p_input, "state" ) == PAUSE_S : false,
                                             b_snapshot );
             if( p_input )
                 vlc_object_release( p_input );