[vlc-commits] macosx: remove volume osd slider code

David Fuhrmann git at videolan.org
Wed Mar 21 18:07:35 CET 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Mar 21 18:04:21 2012 +0100| [bdc6ec2a5b7011fa8b65748a85ac937f6b3541d5] | committer: David Fuhrmann

macosx: remove volume osd slider code

The slider is not displayed, anyway. But sometimes it flickers through
for a short moment which does not look good.
(cherry picked from commit 2fc5dc5fd4c2804d93b6993c9ac8765efd60412e)

Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>

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

 modules/gui/macosx/CoreInteraction.m |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/CoreInteraction.m b/modules/gui/macosx/CoreInteraction.m
index ccd3181..a9b5a27 100644
--- a/modules/gui/macosx/CoreInteraction.m
+++ b/modules/gui/macosx/CoreInteraction.m
@@ -470,8 +470,6 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
     vout_thread_t *p_vout = getVout();
     if (p_vout)
     {
-        vout_OSDSlider( p_vout, SPU_DEFAULT_CHANNEL,
-                       [self volume]*100/AOUT_VOLUME_MAX, OSD_VERT_SLIDER );
         vout_OSDMessage( p_vout, SPU_DEFAULT_CHANNEL, _( "Volume %d%%" ),
                        [self volume]*100/AOUT_VOLUME_DEFAULT );
         vlc_object_release( p_vout );



More information about the vlc-commits mailing list