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
191fab81
Commit
191fab81
authored
Feb 06, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automatically pass the long name in the SD probe helper
parent
b6836bc3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
include/vlc_services_discovery.h
include/vlc_services_discovery.h
+2
-1
modules/services_discovery/podcast.c
modules/services_discovery/podcast.c
+1
-1
No files found.
include/vlc_services_discovery.h
View file @
191fab81
...
@@ -101,7 +101,8 @@ VLC_EXPORT(int, vlc_sd_probe_Add, (vlc_probe_t *, const char *, const char *));
...
@@ -101,7 +101,8 @@ VLC_EXPORT(int, vlc_sd_probe_Add, (vlc_probe_t *, const char *, const char *));
#define VLC_SD_PROBE_HELPER(name, longname) \
#define VLC_SD_PROBE_HELPER(name, longname) \
static int vlc_sd_probe_Open (vlc_object_t *obj) \
static int vlc_sd_probe_Open (vlc_object_t *obj) \
{ \
{ \
return vlc_sd_probe_Add ((struct vlc_probe_t *)obj, name, longname); \
return vlc_sd_probe_Add ((struct vlc_probe_t *)obj, \
name "{longname=\"" # longname "\"}", longname); \
}
}
/** @} */
/** @} */
...
...
modules/services_discovery/podcast.c
View file @
191fab81
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
static
int
Open
(
vlc_object_t
*
);
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
VLC_SD_PROBE_HELPER
(
"podcast
{longname=Podcasts}
"
,
N_
(
"Podcasts"
))
VLC_SD_PROBE_HELPER
(
"podcast"
,
N_
(
"Podcasts"
))
#define URLS_TEXT N_("Podcast URLs list")
#define URLS_TEXT N_("Podcast URLs list")
#define URLS_LONGTEXT N_("Enter the list of podcasts to retrieve, " \
#define URLS_LONGTEXT N_("Enter the list of podcasts to retrieve, " \
...
...
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