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
9e129c71
Commit
9e129c71
authored
Jan 11, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete --sap-timeshift option
parent
c365cbd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+1
-12
No files found.
modules/services_discovery/sap.c
View file @
9e129c71
...
...
@@ -113,9 +113,6 @@
"This enables a SAP caching mechanism. " \
"This will result in lower SAP startup time, but you could end up " \
"with items corresponding to legacy streams." )
#define SAP_TIMESHIFT_TEXT N_("Allow timeshifting")
#define SAP_TIMESHIFT_LONGTEXT N_( "This automatically enables timeshifting " \
"for streams discovered through SAP announcements." )
/* Callbacks */
static
int
Open
(
vlc_object_t
*
);
...
...
@@ -145,8 +142,7 @@ vlc_module_begin ()
add_bool( "sap-cache", 0 , NULL,
SAP_CACHE_TEXT,SAP_CACHE_LONGTEXT, true );
#endif
add_bool
(
"sap-timeshift"
,
0
,
NULL
,
SAP_TIMESHIFT_TEXT
,
SAP_TIMESHIFT_LONGTEXT
,
true
);
add_obsolete_bool
(
"sap-timeshift"
)
/* Redumdant since 1.0.0 */
set_capability
(
"services_discovery"
,
0
)
set_callbacks
(
Open
,
Close
)
...
...
@@ -246,7 +242,6 @@ struct services_discovery_sys_t
/* Modes */
bool
b_strict
;
bool
b_parse
;
bool
b_timeshift
;
int
i_timeout
;
};
...
...
@@ -318,9 +313,6 @@ static int Open( vlc_object_t *p_this )
}
#endif
/* Cache sap_timeshift value */
p_sys
->
b_timeshift
=
var_CreateGetInteger
(
p_sd
,
"sap-timeshift"
);
p_sys
->
i_announces
=
0
;
p_sys
->
pp_announces
=
NULL
;
/* TODO: create sockets here, and fix racy sockets table */
...
...
@@ -883,9 +875,6 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
return
NULL
;
}
if
(
p_sys
->
b_timeshift
)
input_item_AddOption
(
p_input
,
":access-filter=timeshift"
);
if
(
p_sdp
->
rtcp_port
)
{
char
*
rtcp
;
...
...
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