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
ebcd5487
Commit
ebcd5487
authored
Nov 13, 2006
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use D-Bus with hal < 0.5.0
parent
15de00ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/services_discovery/hal.c
modules/services_discovery/hal.c
+7
-1
No files found.
modules/services_discovery/hal.c
View file @
ebcd5487
...
...
@@ -81,15 +81,17 @@ static int Open( vlc_object_t *p_this )
playlist_t
*
p_playlist
;
#ifdef HAVE_HAL_1
DBusError
dbus_error
;
DBusConnection
*
p_connection
;
#endif
p_sd
->
pf_run
=
Run
;
p_sd
->
p_sys
=
p_sys
;
#ifdef HAVE_HAL_1
dbus_error_init
(
&
dbus_error
);
#ifdef HAVE_HAL_1
p_sys
->
p_ctx
=
libhal_ctx_new
();
if
(
!
p_sys
->
p_ctx
)
{
...
...
@@ -111,8 +113,12 @@ static int Open( vlc_object_t *p_this )
if
(
!
(
p_sys
->
p_ctx
=
hal_initialize
(
NULL
,
FALSE
)
)
)
#endif
{
#ifdef HAVE_HAL_1
msg_Err
(
p_sd
,
"hal not available : %s"
,
dbus_error
.
message
);
dbus_error_free
(
&
dbus_error
);
#else
msg_Err
(
p_sd
,
"hal not available"
);
#endif
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
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