[vlc-commits] commit: Change libvlc_instance_t to libvlc_media_player_t where appropriate ( Colin Guthrie )
git at videolan.org
git at videolan.org
Sat Mar 13 17:53:44 CET 2010
vlc/phonon | branch: master | Colin Guthrie <cguthrie at mandriva.org> | Thu Feb 11 21:50:00 2010 +0000| [d450db6615f555a204f9683561f8b1bb963cc09b] | committer: Jean-Baptiste Kempf
Change libvlc_instance_t to libvlc_media_player_t where appropriate
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/phonon.git/?a=commit;h=d450db6615f555a204f9683561f8b1bb963cc09b
---
vlc/audiooutput.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vlc/audiooutput.cpp b/vlc/audiooutput.cpp
index 8b50b66..c3c339d 100644
--- a/vlc/audiooutput.cpp
+++ b/vlc/audiooutput.cpp
@@ -56,7 +56,7 @@ qreal AudioOutput::volume() const
void AudioOutput::setVolume(qreal volume)
{
- if (vlc_instance) {
+ if (vlc_current_media_player) {
libvlc_audio_set_volume(vlc_current_media_player, (int)(f_volume * 100));
f_volume = volume;
emit volumeChanged(f_volume);
More information about the vlc-commits
mailing list