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
2f271f6a
Commit
2f271f6a
authored
Nov 16, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ps: change bad scr offset to 2s
that's max for audio
parent
fc972282
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/demux/mpeg/ps.c
modules/demux/mpeg/ps.c
+1
-1
No files found.
modules/demux/mpeg/ps.c
View file @
2f271f6a
...
...
@@ -566,7 +566,7 @@ static int Demux( demux_t *p_demux )
if
(
p_sys
->
i_pack_scr
>=
0
&&
!
p_sys
->
b_bad_scr
)
{
if
(
(
tk
->
fmt
.
i_cat
==
AUDIO_ES
||
tk
->
fmt
.
i_cat
==
VIDEO_ES
)
&&
tk
->
i_first_pts
>
VLC_TS_INVALID
&&
tk
->
i_first_pts
-
p_sys
->
i_pack_scr
>
CLOCK_FREQ
)
tk
->
i_first_pts
>
VLC_TS_INVALID
&&
tk
->
i_first_pts
-
p_sys
->
i_pack_scr
>
2
*
CLOCK_FREQ
)
{
msg_Warn
(
p_demux
,
"Incorrect SCR timing offset by of %"
PRId64
"ms, disabling"
,
tk
->
i_first_pts
-
p_sys
->
i_pack_scr
/
1000
);
...
...
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