Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cc-spu-fix
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Leandro Consiglio
cc-spu-fix
Commits
8a56a301
Commit
8a56a301
authored
6 years ago
by
Thomas Guillem
Browse files
Options
Downloads
Patches
Plain Diff
chromecast: report cc timestamp even when paused
parent
ba48fe63
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/stream_out/chromecast/chromecast_ctrl.cpp
+2
-1
2 additions, 1 deletion
modules/stream_out/chromecast/chromecast_ctrl.cpp
with
2 additions
and
1 deletion
modules/stream_out/chromecast/chromecast_ctrl.cpp
+
2
−
1
View file @
8a56a301
...
...
@@ -1073,13 +1073,14 @@ mtime_t intf_sys_t::getPlaybackTimestamp()
switch
(
m_state
)
{
case
Buffering
:
case
Paused
:
if
(
!
m_played_once
)
return
VLC_TS_INVALID
;
/* fallthrough */
case
Playing
:
{
mtime_t
now
=
mdate
();
if
(
m_last_request_id
==
0
if
(
m_state
==
Playing
&&
m_last_request_id
==
0
&&
now
-
m_cc_time_last_request_date
>
INT64_C
(
4000000
)
)
{
m_cc_time_last_request_date
=
now
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment