Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
249ce1ea
Commit
249ce1ea
authored
Jan 11, 2003
by
Stephan Assmus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed flickering of skip buttons (and consequently crashing if you pressed them)
parent
bcd17b18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
22 deletions
+25
-22
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+8
-10
modules/gui/beos/MediaControlView.cpp
modules/gui/beos/MediaControlView.cpp
+14
-10
modules/gui/beos/VlcWrapper.cpp
modules/gui/beos/VlcWrapper.cpp
+3
-2
No files found.
modules/gui/beos/InterfaceWindow.cpp
View file @
249ce1ea
...
...
@@ -2,7 +2,7 @@
* InterfaceWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: InterfaceWindow.cpp,v 1.1
3 2003/01/08 02:09:15 titer
Exp $
* $Id: InterfaceWindow.cpp,v 1.1
4 2003/01/11 19:33:09 stippi
Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -178,7 +178,8 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char *name,
fMenuBar
->
AddItem
(
fSettingsMenu
);
// prepare fow showing
_SetMenusEnabled
(
false
);
_SetMenusEnabled
(
false
);
p_mediaControl
->
SetEnabled
(
false
);
_RestoreSettings
();
...
...
@@ -481,6 +482,7 @@ void InterfaceWindow::updateInterface()
}
else
if
(
Lock
()
)
{
// p_mediaControl->SetEnabled( true );
bool
hasTitles
=
p_wrapper
->
HasTitles
();
bool
hasChapters
=
p_wrapper
->
HasChapters
();
p_mediaControl
->
SetStatus
(
p_wrapper
->
InputStatus
(),
...
...
@@ -513,15 +515,11 @@ void InterfaceWindow::updateInterface()
fPlaylistWindow
->
Unlock
();
}
}
else
_SetMenusEnabled
(
false
);
if
(
Lock
()
)
{
p_mediaControl
->
SetEnabled
(
p_wrapper
->
PlaylistSize
()
);
Unlock
();
}
{
_SetMenusEnabled
(
false
);
// p_mediaControl->SetEnabled( false );
}
/* always force the user-specified volume */
/* FIXME : I'm quite sure there is a cleaner way to do this */
...
...
modules/gui/beos/MediaControlView.cpp
View file @
249ce1ea
...
...
@@ -2,7 +2,7 @@
* MediaControlView.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: MediaControlView.cpp,v 1.
8 2002/11/27 05:36:41 titer
Exp $
* $Id: MediaControlView.cpp,v 1.
9 2003/01/11 19:33:09 stippi
Exp $
*
* Authors: Tony Castley <tony@castley.net>
* Stephan Aßmus <stippi@yellowbites.com>
...
...
@@ -325,15 +325,19 @@ MediaControlView::SetStatus(int status, int rate)
void
MediaControlView
::
SetEnabled
(
bool
enabled
)
{
fSkipBack
->
SetEnabled
(
enabled
);
fPlayPause
->
SetEnabled
(
enabled
);
fSkipForward
->
SetEnabled
(
enabled
);
fStop
->
SetEnabled
(
enabled
);
fMute
->
SetEnabled
(
enabled
);
fVolumeSlider
->
SetEnabled
(
enabled
);
fSeekSlider
->
SetEnabled
(
enabled
);
fRewind
->
SetEnabled
(
enabled
);
fForward
->
SetEnabled
(
enabled
);
if
(
LockLooper
()
)
{
fSkipBack
->
SetEnabled
(
enabled
);
fPlayPause
->
SetEnabled
(
enabled
);
fSkipForward
->
SetEnabled
(
enabled
);
fStop
->
SetEnabled
(
enabled
);
fMute
->
SetEnabled
(
enabled
);
fVolumeSlider
->
SetEnabled
(
enabled
);
fSeekSlider
->
SetEnabled
(
enabled
);
fRewind
->
SetEnabled
(
enabled
);
fForward
->
SetEnabled
(
enabled
);
UnlockLooper
();
}
}
// SetAudioEnabled
...
...
modules/gui/beos/VlcWrapper.cpp
View file @
249ce1ea
...
...
@@ -2,7 +2,7 @@
* VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.cpp,v 1.1
5 2003/01/08 02:09:15 titer
Exp $
* $Id: VlcWrapper.cpp,v 1.1
6 2003/01/11 19:33:09 stippi
Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -105,7 +105,8 @@ bool VlcWrapper::UpdateInputAndAOut()
bool
VlcWrapper
::
HasInput
()
{
return
(
p_input
!=
NULL
);
return
(
p_input
!=
NULL
);
// return ( PlaylistSize() > 0 );
}
/* status (UNDEF_S, PLAYING_S, PAUSE_S, FORWARD_S, BACKWARD_S,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment