[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 21:39:37 CEST 2010


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

Typo, fix libvlc_video_set_format() pitch

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

 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 cf54fcd..4b71ec8 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -376,7 +376,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