[vlc-devel] commit: libvlc: fix libvlc_video_set_track() (Derk-Jan Hartman )
git version control
git at videolan.org
Wed Jun 17 20:48:53 CEST 2009
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Wed Jun 17 20:48:02 2009 +0200| [e1abfdca81e985dbabb843200806dc0daddd035f] | committer: Derk-Jan Hartman
libvlc: fix libvlc_video_set_track()
When we set the video track, we probably be wanting to change video-es vars instead of audio-es
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1abfdca81e985dbabb843200806dc0daddd035f
---
src/control/video.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/control/video.c b/src/control/video.c
index 3b8fbf2..d90b1a4 100644
--- a/src/control/video.c
+++ b/src/control/video.c
@@ -577,7 +577,7 @@ void libvlc_video_set_track( libvlc_media_player_t *p_mi, int i_track,
vlc_value_t val = val_list.p_list->p_values[i];
if( i_track == val.i_int )
{
- i_ret = var_Set( p_input_thread, "audio-es", val );
+ i_ret = var_Set( p_input_thread, "video-es", val );
if( i_ret < 0 )
libvlc_exception_raise( p_e, "Setting video track failed" );
goto end;
More information about the vlc-devel
mailing list