Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
ac408dc1
Commit
ac408dc1
authored
Jan 22, 2016
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ts: use FROM_SCALE for pcr
parent
aafc80c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/demux/mpeg/ts.c
modules/demux/mpeg/ts.c
+1
-2
No files found.
modules/demux/mpeg/ts.c
View file @
ac408dc1
...
...
@@ -3141,8 +3141,7 @@ static void ProgramSetPCR( demux_t *p_demux, ts_pmt_t *p_pmt, mtime_t i_pcr )
if
(
p_sys
->
i_pmt_es
)
{
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_GROUP_PCR
,
p_pmt
->
i_number
,
VLC_TS_0
+
i_pcr
*
100
/
9
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_GROUP_PCR
,
p_pmt
->
i_number
,
FROM_SCALE
(
i_pcr
)
);
}
}
...
...
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