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

David Fuhrmann git at videolan.org
Wed Mar 21 18:06:52 CET 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Mar 21 18:04:21 2012 +0100| [2fc5dc5fd4c2804d93b6993c9ac8765efd60412e] | 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.

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

 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