[vlc-devel] commit: activex: setting default aspect ratio is legal (Anthony Loiseau )

git version control git at videolan.org
Mon Jun 29 17:40:43 CEST 2009


vlc | branch: master | Anthony Loiseau <thannoy at actech-innovation.com> | Fri Jun 19 17:09:45 2009 +0200| [326f4d404c2803a1dffef57d0ad65a9a472245a7] | committer: Rémi Denis-Courmont 

activex: setting default aspect ratio is legal

Empty parameter means "default/guess".

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 projects/activex/vlccontrol2.cpp |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/projects/activex/vlccontrol2.cpp b/projects/activex/vlccontrol2.cpp
index c0de083..8fcacd1 100644
--- a/projects/activex/vlccontrol2.cpp
+++ b/projects/activex/vlccontrol2.cpp
@@ -2076,9 +2076,6 @@ STDMETHODIMP VLCVideo::put_aspectRatio(BSTR aspect)
     if( NULL == aspect )
         return E_POINTER;
 
-    if( 0 == SysStringLen(aspect) )
-        return E_INVALIDARG;
-
     libvlc_media_player_t *p_md;
     HRESULT hr = _p_instance->getMD(&p_md);
     if( SUCCEEDED(hr) )




More information about the vlc-devel mailing list