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
885fd4ca
Commit
885fd4ca
authored
Aug 17, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if ttl==0, don't update the feeds
parent
b3b2e8fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_filter/rss.c
modules/video_filter/rss.c
+3
-2
No files found.
modules/video_filter/rss.c
View file @
885fd4ca
...
@@ -114,7 +114,7 @@ struct filter_sys_t
...
@@ -114,7 +114,7 @@ struct filter_sys_t
#define LENGTH_TEXT N_("RSS feed max number of chars displayed")
#define LENGTH_TEXT N_("RSS feed max number of chars displayed")
#define LENGTH_LONGTEXT N_("RSS feed max number of chars displayed")
#define LENGTH_LONGTEXT N_("RSS feed max number of chars displayed")
#define TTL_TEXT N_("Number of seconds between each forced refresh of the feeds")
#define TTL_TEXT N_("Number of seconds between each forced refresh of the feeds")
#define TTL_LONGTEXT N_("Number of seconds between each forced refresh of the feeds")
#define TTL_LONGTEXT N_("Number of seconds between each forced refresh of the feeds
. If 0, the feeds will never be updated.
")
#define POSX_TEXT N_("X offset, from left")
#define POSX_TEXT N_("X offset, from left")
...
@@ -302,7 +302,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
...
@@ -302,7 +302,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
}
}
/* Do we need to update the feeds ? */
/* Do we need to update the feeds ? */
if
(
time
(
NULL
)
>
p_sys
->
t_last_update
+
(
time_t
)
p_sys
->
i_ttl
)
if
(
p_sys
->
i_ttl
&&
time
(
NULL
)
>
p_sys
->
t_last_update
+
(
time_t
)
p_sys
->
i_ttl
)
{
{
msg_Dbg
(
p_filter
,
"Forcing update of all the RSS feeds"
);
msg_Dbg
(
p_filter
,
"Forcing update of all the RSS feeds"
);
if
(
FetchRSS
(
p_filter
)
)
if
(
FetchRSS
(
p_filter
)
)
...
...
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