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
00e497bb
Commit
00e497bb
authored
Mar 26, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBus: don't use access object
parent
d7e6e4af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
modules/control/dbus.c
modules/control/dbus.c
+4
-12
No files found.
modules/control/dbus.c
View file @
00e497bb
...
...
@@ -54,7 +54,6 @@
#include <vlc_input.h>
#include <vlc_playlist.h>
#include <vlc_demux.h>
#include <vlc_access.h>
/*****************************************************************************
* Local prototypes.
...
...
@@ -990,20 +989,13 @@ static int UpdateCaps( intf_thread_t* p_intf )
if
(
p_playlist
->
p_input
)
{
access_t
*
p_access
=
(
access_t
*
)
vlc_object_find
(
p_playlist
->
p_input
,
VLC_OBJECT_ACCESS
,
FIND_CHILD
);
if
(
p_access
&&
p_access
->
pf_control
)
{
vlc_bool_t
b_can_pause
;
if
(
!
access2_Control
(
p_access
,
ACCESS_CAN_PAUSE
,
&
b_can_pause
)
&&
b_can_pause
)
i_caps
|=
CAPS_CAN_PAUSE
;
vlc_object_release
(
p_access
);
}
if
(
var_GetBoolean
(
p_playlist
->
p_input
,
"can-pause"
)
)
i_caps
|=
CAPS_CAN_PAUSE
;
demux_t
*
p_demux
=
(
demux_t
*
)
vlc_object_find
(
p_playlist
->
p_input
,
VLC_OBJECT_DEMUX
,
FIND_CHILD
);
if
(
p_demux
)
{
/* XXX: is: demux can seek and access can not a possibility ? */
{
vlc_bool_t
b_can_seek
;
if
(
!
stream_Control
(
p_demux
->
s
,
STREAM_CAN_SEEK
,
&
b_can_seek
)
&&
b_can_seek
)
...
...
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