Commit fc4b656d authored by Anthony Loiseau's avatar Anthony Loiseau Committed by Rémi Denis-Courmont

activex: setting default aspect ratio is legal

Empty parameter means "default/guess".
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 326f4d40)
parent c4ab699c
...@@ -2092,9 +2092,6 @@ STDMETHODIMP VLCVideo::put_aspectRatio(BSTR aspect) ...@@ -2092,9 +2092,6 @@ STDMETHODIMP VLCVideo::put_aspectRatio(BSTR aspect)
if( NULL == aspect ) if( NULL == aspect )
return E_POINTER; return E_POINTER;
if( 0 == SysStringLen(aspect) )
return E_INVALIDARG;
libvlc_media_player_t *p_md; libvlc_media_player_t *p_md;
HRESULT hr = _p_instance->getMD(&p_md); HRESULT hr = _p_instance->getMD(&p_md);
if( SUCCEEDED(hr) ) if( SUCCEEDED(hr) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment