[vlc-devel] commit: Fixed subtitle pausing. (Laurent Aimar )

git version control git at videolan.org
Wed Sep 17 20:41:45 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Sep 17 20:36:03 2008 +0200| [84cc4e6f1d0adea0a9ed16b50ad08b538ebc9b15] | committer: Laurent Aimar 

Fixed subtitle pausing.

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

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

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 06c1ad4..caa7bb7 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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 );




More information about the vlc-devel mailing list