[vlc-commits] commit: Typo, fix libvlc_video_set_format() pitch ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Jul 14 22:26:56 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 14 22:39:18 2010 +0300| [baaecebbb7a3401894a2dcb678f43f2f3f178144] | committer: Rémi Denis-Courmont 

Typo, fix libvlc_video_set_format() pitch

(cherry picked from commit a1c5d036c2b1692a5670dfe197ed776084c35946)

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

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

diff --git a/src/control/media_player.c b/src/control/media_player.c
index 7912e8d..0336f3c 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -379,7 +379,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
     var_Create (mp, "vmem-chroma", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
     var_Create (mp, "vmem-width", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
     var_Create (mp, "vmem-height", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
-    var_Create (mp, "vmem-width", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+    var_Create (mp, "vmem-pitch", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
     var_Create (mp, "drawable-xid", VLC_VAR_INTEGER);
 #ifdef WIN32
     var_Create (mp, "drawable-hwnd", VLC_VAR_ADDRESS);



More information about the vlc-commits mailing list