Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
78b7e389
Commit
78b7e389
authored
Mar 23, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix input_mnager behaviour to what it was intended. Patch idea by Dylan.
parent
7ee84d75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+5
-5
No files found.
modules/gui/qt4/input_manager.cpp
View file @
78b7e389
...
@@ -581,7 +581,7 @@ static int InterfaceChanged( vlc_object_t *p_this, const char *psz_var,
...
@@ -581,7 +581,7 @@ static int InterfaceChanged( vlc_object_t *p_this, const char *psz_var,
static
int
counter
=
0
;
static
int
counter
=
0
;
InputManager
*
im
=
(
InputManager
*
)
param
;
InputManager
*
im
=
(
InputManager
*
)
param
;
counter
=
counter
++
%
4
;
counter
=
++
counter
%
4
;
if
(
!
counter
)
if
(
!
counter
)
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
IMEvent
*
event
=
new
IMEvent
(
PositionUpdate_Type
,
0
);
IMEvent
*
event
=
new
IMEvent
(
PositionUpdate_Type
,
0
);
...
@@ -590,7 +590,7 @@ static int InterfaceChanged( vlc_object_t *p_this, const char *psz_var,
...
@@ -590,7 +590,7 @@ static int InterfaceChanged( vlc_object_t *p_this, const char *psz_var,
}
}
static
int
ItemStateChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
static
int
ItemStateChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
{
{
InputManager
*
im
=
(
InputManager
*
)
param
;
InputManager
*
im
=
(
InputManager
*
)
param
;
...
@@ -600,17 +600,17 @@ static int ItemStateChanged( vlc_object_t *p_this, const char *psz_var,
...
@@ -600,17 +600,17 @@ static int ItemStateChanged( vlc_object_t *p_this, const char *psz_var,
}
}
static
int
ItemRateChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
static
int
ItemRateChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
{
{
InputManager
*
im
=
(
InputManager
*
)
param
;
InputManager
*
im
=
(
InputManager
*
)
param
;
IMEvent
*
event
=
new
IMEvent
(
ItemRateChanged_Type
,
0
);
IMEvent
*
event
=
new
IMEvent
(
ItemRateChanged_Type
,
0
);
QApplication
::
postEvent
(
im
,
static_cast
<
QEvent
*>
(
event
)
);
QApplication
::
postEvent
(
im
,
static_cast
<
QEvent
*>
(
event
)
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
static
int
ItemTitleChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
static
int
ItemTitleChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
{
{
InputManager
*
im
=
(
InputManager
*
)
param
;
InputManager
*
im
=
(
InputManager
*
)
param
;
...
...
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