Commit 2e544b26 authored by Daniel Amm's avatar Daniel Amm Committed by Jean-Baptiste Kempf

activex: fix initial volume value

_i_volume is used to set a custom initial volume over the html embed
attribute or the Visual Studio object property window.
A new value will be only accepted if it's different to _i_volume. So if
you want to set it to 50, it will currently not work, because activex
initializes libvlc with 100 (default).

This patch will set _i_volume to 100 to match the real volume.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent f8e1e6f7
......@@ -386,7 +386,7 @@ HRESULT VLCPlugin::onInit(void)
_bstr_mrl = NULL;
_b_visible = TRUE;
_b_mute = FALSE;
_i_volume = 50;
_i_volume = 100;
_i_time = 0;
_i_backcolor = 0;
// set default/preferred size (320x240) pixels in HIMETRIC
......
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