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
3396d9f3
Commit
3396d9f3
authored
Jan 23, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: use input_GetVout when possible.
parent
be84b46a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
16 deletions
+6
-16
modules/gui/skins2/commands/cmd_fullscreen.cpp
modules/gui/skins2/commands/cmd_fullscreen.cpp
+2
-6
modules/gui/skins2/commands/cmd_snapshot.cpp
modules/gui/skins2/commands/cmd_snapshot.cpp
+2
-7
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+2
-3
No files found.
modules/gui/skins2/commands/cmd_fullscreen.cpp
View file @
3396d9f3
/*****************************************************************************
* cmd_fullscreen.cpp
*****************************************************************************
* Copyright (C) 2003 the VideoLAN team
* Copyright (C) 2003
-2009
the VideoLAN team
* $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
...
...
@@ -29,15 +29,11 @@
void
CmdFullscreen
::
execute
()
{
vout_thread_t
*
pVout
;
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
)
{
return
;
}
pVout
=
(
vout_thread_t
*
)
vlc_object_find
(
getIntf
()
->
p_sys
->
p_input
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
vout_thread_t
*
pVout
=
input_GetVout
(
getIntf
()
->
p_sys
->
p_input
);
if
(
pVout
)
{
// Switch to fullscreen
...
...
modules/gui/skins2/commands/cmd_snapshot.cpp
View file @
3396d9f3
/*****************************************************************************
* cmd_snapshot.cpp
*****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* Copyright (C) 2006
-2009
the VideoLAN team
* $Id$
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
...
...
@@ -27,15 +27,10 @@
void
CmdSnapshot
::
execute
()
{
vout_thread_t
*
pVout
;
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
)
{
return
;
}
pVout
=
(
vout_thread_t
*
)
vlc_object_find
(
getIntf
()
->
p_sys
->
p_input
,
VLC_OBJECT_VOUT
,
FIND_CHILD
);
vout_thread_t
*
pVout
=
input_GetVout
(
getIntf
()
->
p_sys
->
p_input
);
if
(
pVout
)
{
// Take a snapshot
...
...
modules/gui/skins2/src/vlcproc.cpp
View file @
3396d9f3
/*****************************************************************************
* vlcproc.cpp
*****************************************************************************
* Copyright (C) 2003 the VideoLAN team
* Copyright (C) 2003
-2009
the VideoLAN team
* $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
...
...
@@ -369,8 +369,7 @@ void VlcProc::refreshInput()
pVarHasAudio
->
set
(
audio_es
.
i_int
>
0
);
// Refresh fullscreen status
vout_thread_t
*
pVout
=
(
vout_thread_t
*
)
vlc_object_find
(
pInput
,
VLC_OBJECT_VOUT
,
FIND_CHILD
);
vout_thread_t
*
pVout
=
input_GetVout
(
pInput
);
pVarHasVout
->
set
(
pVout
!=
NULL
);
if
(
pVout
)
{
...
...
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