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

git version control git at videolan.org
Mon Jun 29 17:41:23 CEST 2009


vlc | branch: 1.0-bugfix | Anthony Loiseau <thannoy at actech-innovation.com> | Fri Jun 19 17:09:45 2009 +0200| [fc4b656d9e48863fe97fdb10b9a3fea908b3a588] | 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>
(cherry picked from commit 326f4d404c2803a1dffef57d0ad65a9a472245a7)

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

 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 3f6c010..a1a764e 100644
--- a/projects/activex/vlccontrol2.cpp
+++ b/projects/activex/vlccontrol2.cpp
@@ -2092,9 +2092,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