Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
8e7cf631
Commit
8e7cf631
authored
Feb 12, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix refcount problems
parent
31ce5588
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
modules/control/hotkeys.c
modules/control/hotkeys.c
+9
-2
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+3
-2
No files found.
modules/control/hotkeys.c
View file @
8e7cf631
...
...
@@ -206,8 +206,15 @@ static void Run( intf_thread_t *p_intf )
/* Update the input */
if
(
p_intf
->
p_sys
->
p_input
==
NULL
)
{
p_intf
->
p_sys
->
p_input
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_INPUT
,
FIND_ANYWHERE
);
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
)
{
p_intf
->
p_sys
->
p_input
=
p_playlist
->
p_input
;
if
(
p_intf
->
p_sys
->
p_input
)
vlc_object_yield
(
p_intf
->
p_sys
->
p_input
);
vlc_object_release
(
p_playlist
);
}
}
else
if
(
p_intf
->
p_sys
->
p_input
->
b_dead
)
{
...
...
modules/gui/skins2/src/vlcproc.cpp
View file @
8e7cf631
...
...
@@ -240,8 +240,9 @@ void VlcProc::manage()
// Update the input
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
)
{
getIntf
()
->
p_sys
->
p_input
=
(
input_thread_t
*
)
vlc_object_find
(
getIntf
(),
VLC_OBJECT_INPUT
,
FIND_ANYWHERE
);
getIntf
()
->
p_sys
->
p_input
=
getIntf
()
->
p_sys
->
p_playlist
->
p_input
;
if
(
getIntf
()
->
p_sys
->
p_input
)
vlc_object_yield
(
getIntf
()
->
p_sys
->
p_input
);
}
else
if
(
getIntf
()
->
p_sys
->
p_input
->
b_dead
)
{
...
...
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