mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 14:29:25 +02:00
* fix crash in libvlc packages by patch from Michl, resolves #31541
git-svn-id: trunk@38308 -
This commit is contained in:
parent
d16a22e42b
commit
f969e43ff0
@ -687,7 +687,8 @@ end;
|
|||||||
|
|
||||||
procedure TCustomVLCMediaPlayer.SetAudioMuted(AValue: Boolean);
|
procedure TCustomVLCMediaPlayer.SetAudioMuted(AValue: Boolean);
|
||||||
begin
|
begin
|
||||||
libvlc_audio_set_mute(instance, ord(AValue));
|
if Assigned(FInstance) then
|
||||||
|
libvlc_audio_set_mute(instance, ord(AValue));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomVLCMediaPlayer.SetFitWindow(AValue: Boolean);
|
procedure TCustomVLCMediaPlayer.SetFitWindow(AValue: Boolean);
|
||||||
|
Loading…
Reference in New Issue
Block a user