Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7ef8e0ab
Commit
7ef8e0ab
authored
Jan 16, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: win32 simplification
parent
4b5229c8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
29 deletions
+15
-29
modules/codec/avcodec/video.c
modules/codec/avcodec/video.c
+1
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+12
-20
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+1
-9
modules/gui/qt4/qt4.hpp
modules/gui/qt4/qt4.hpp
+1
-0
No files found.
modules/codec/avcodec/video.c
View file @
7ef8e0ab
...
...
@@ -825,6 +825,7 @@ static int ffmpeg_OpenCodec( decoder_t *p_dec )
p_sys
->
b_delayed_open
=
false
;
msg_Info
(
p_dec
,
"Here"
);
if
(
p_sys
->
p_va
&&
p_sys
->
p_va
->
description
)
msg_Info
(
p_dec
,
"Using %s for hardware decoding."
,
p_sys
->
p_va
->
description
);
...
...
modules/gui/qt4/main_interface.cpp
View file @
7ef8e0ab
...
...
@@ -584,14 +584,6 @@ void MainInterface::createTaskBarButtons()
msg_Err
(
p_intf
,
"ThumbBarAddButtons failed with error %08x"
,
hr
);
}
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
changeThumbbarButtons
(
int
)
);
CONNECT
(
this
,
playPauseSignal
(),
THEMIM
,
togglePlayPause
()
);
CONNECT
(
this
,
prevSignal
(),
THEMIM
,
prev
()
);
CONNECT
(
this
,
nextSignal
(),
THEMIM
,
next
()
);
CONNECT
(
this
,
play
(),
THEMIM
,
play
()
);
CONNECT
(
this
,
pause
(),
THEMIM
,
pause
()
);
CONNECT
(
this
,
mute
(),
ActionsManager
::
getInstance
(
p_intf
),
toggleMuteAudio
()
);
CONNECT
(
this
,
volumeUp
(),
ActionsManager
::
getInstance
(
p_intf
),
AudioUp
()
);
CONNECT
(
this
,
volumeDown
(),
ActionsManager
::
getInstance
(
p_intf
),
AudioDown
()
);
}
}
else
...
...
@@ -618,13 +610,13 @@ bool MainInterface::winEvent ( MSG * msg, long * result )
switch
(
LOWORD
(
msg
->
wParam
))
{
case
0
:
emit
prevSignal
();
THEMIM
->
prev
();
break
;
case
1
:
emit
playPauseSignal
();
THEMIM
->
togglePlayPause
();
break
;
case
2
:
emit
nextSignal
();
THEMIM
->
next
();
break
;
}
}
...
...
@@ -634,31 +626,31 @@ bool MainInterface::winEvent ( MSG * msg, long * result )
switch
(
cmd
)
{
case
APPCOMMAND_MEDIA_PLAY_PAUSE
:
emit
playPauseSignal
();
THEMIM
->
togglePlayPause
();
break
;
case
APPCOMMAND_MEDIA_PLAY
:
emit
play
();
THEMIM
->
play
();
break
;
case
APPCOMMAND_MEDIA_PAUSE
:
emit
pause
();
THEMIM
->
pause
();
break
;
case
APPCOMMAND_MEDIA_PREVIOUSTRACK
:
emit
prevSignal
();
THEMIM
->
prev
();
break
;
case
APPCOMMAND_MEDIA_NEXTTRACK
:
emit
nextSignal
();
THEMIM
->
next
();
break
;
case
APPCOMMAND_MEDIA_STOP
:
emit
stop
();
THEMIM
->
stop
();
break
;
case
APPCOMMAND_VOLUME_DOWN
:
emit
volume
Down
();
THEAM
->
Audio
Down
();
break
;
case
APPCOMMAND_VOLUME_UP
:
emit
volume
Up
();
THEAM
->
Audio
Up
();
break
;
case
APPCOMMAND_VOLUME_MUTE
:
emit
mute
();
THEAM
->
toggleMuteAudio
();
break
;
default:
msg_Dbg
(
p_intf
,
"unknown APPCOMMAND = %d"
,
cmd
);
...
...
modules/gui/qt4/main_interface.hpp
View file @
7ef8e0ab
...
...
@@ -226,15 +226,7 @@ signals:
void
askUpdate
();
void
minimalViewToggled
(
bool
);
void
fullscreenInterfaceToggled
(
bool
);
void
playPauseSignal
();
void
play
();
void
pause
();
void
stop
();
void
volumeUp
();
void
volumeDown
();
void
mute
();
void
prevSignal
();
void
nextSignal
();
};
#ifdef WIN32
...
...
modules/gui/qt4/qt4.hpp
View file @
7ef8e0ab
...
...
@@ -86,6 +86,7 @@ struct intf_sys_t
#define THEDP DialogsProvider::getInstance()
#define THEMIM MainInputManager::getInstance( p_intf )
#define THEAM ActionsManager::getInstance( p_intf )
#define qfu( i ) QString::fromUtf8( i )
#define qtr( i ) QString::fromUtf8( vlc_gettext(i) )
...
...
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