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
5f05de85
Commit
5f05de85
authored
Sep 29, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
telepathy: 10 calls to the "item-change" callback may be necessary to have the metadata available.
parent
59a40313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/misc/notify/telepathy.c
modules/misc/notify/telepathy.c
+4
-3
No files found.
modules/misc/notify/telepathy.c
View file @
5f05de85
...
@@ -169,9 +169,10 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
...
@@ -169,9 +169,10 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
{
{
if
(
newval
.
i_int
!=
p_intf
->
p_sys
->
i_id
)
/* "item-change" */
if
(
newval
.
i_int
!=
p_intf
->
p_sys
->
i_id
)
/* "item-change" */
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
/* some variable bitrate inputs call "item-change callbacks each time
/* Some variable bitrate inputs call "item-change callbacks each time
* their length is updated, that is several times per second. */
* their length is updated, that is several times per second.
if
(
p_intf
->
p_sys
->
i_item_changes
>
5
)
* We'll limit the number of changes to 10 per input. */
if
(
p_intf
->
p_sys
->
i_item_changes
>
10
)
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
p_intf
->
p_sys
->
i_item_changes
++
;
p_intf
->
p_sys
->
i_item_changes
++
;
}
}
...
...
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