Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
bca43954
Commit
bca43954
authored
Mar 10, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed DecoderUpdatePreroll.
It makes prerolling less precise but it will avoid loosing valid frame.
parent
8610a92b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/input/decoder.c
src/input/decoder.c
+2
-2
No files found.
src/input/decoder.c
View file @
bca43954
...
...
@@ -1029,10 +1029,10 @@ static inline void DecoderUpdatePreroll( int64_t *pi_preroll, const block_t *p )
{
if
(
p
->
i_flags
&
(
BLOCK_FLAG_PREROLL
|
BLOCK_FLAG_DISCONTINUITY
)
)
*
pi_preroll
=
INT64_MAX
;
else
if
(
p
->
i_pts
>
0
)
*
pi_preroll
=
__MIN
(
*
pi_preroll
,
p
->
i_pts
);
else
if
(
p
->
i_dts
>
0
)
*
pi_preroll
=
__MIN
(
*
pi_preroll
,
p
->
i_dts
);
else
if
(
p
->
i_pts
>
0
)
*
pi_preroll
=
__MIN
(
*
pi_preroll
,
p
->
i_pts
);
}
static
mtime_t
DecoderTeletextFixTs
(
mtime_t
i_ts
)
...
...
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