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
abec6e6d
Commit
abec6e6d
authored
Oct 02, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use decoder_GetDisplayDate.
(libmpeg2/xvmc pending)
parent
d7b943b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+1
-1
modules/codec/quicktime.c
modules/codec/quicktime.c
+3
-2
No files found.
modules/codec/ffmpeg/video.c
View file @
abec6e6d
...
@@ -573,7 +573,7 @@ picture_t *E_(DecodeVideo)( decoder_t *p_dec, block_t **pp_block )
...
@@ -573,7 +573,7 @@ picture_t *E_(DecodeVideo)( decoder_t *p_dec, block_t **pp_block )
}
}
/* Update frame late count (except when doing preroll) */
/* Update frame late count (except when doing preroll) */
if
(
p_sys
->
i_pts
&&
p_sys
->
i_pts
<=
mdate
()
&&
if
(
p_sys
->
i_pts
&&
decoder_GetDisplayDate
(
p_sys
->
i_pts
)
<=
mdate
()
&&
!
(
p_block
->
i_flags
&
BLOCK_FLAG_PREROLL
)
)
!
(
p_block
->
i_flags
&
BLOCK_FLAG_PREROLL
)
)
{
{
p_sys
->
i_late_frames
++
;
p_sys
->
i_late_frames
++
;
...
...
modules/codec/quicktime.c
View file @
abec6e6d
...
@@ -519,7 +519,8 @@ static aout_buffer_t *DecodeAudio( decoder_t *p_dec, block_t **pp_block )
...
@@ -519,7 +519,8 @@ static aout_buffer_t *DecodeAudio( decoder_t *p_dec, block_t **pp_block )
if
(
p_sys
->
i_out_frames
<=
0
)
if
(
p_sys
->
i_out_frames
<=
0
)
{
{
if
(
(
p_sys
->
pts
=
p_block
->
i_pts
)
<
mdate
()
)
p_sys
->
pts
=
p_block
->
i_pts
;
if
(
decoder_GetDisplayDate
(
p_block
->
i_pts
)
<
mdate
()
)
{
{
block_Release
(
p_block
);
block_Release
(
p_block
);
*
pp_block
=
NULL
;
*
pp_block
=
NULL
;
...
@@ -835,7 +836,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
...
@@ -835,7 +836,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
i_pts
=
p_block
->
i_pts
?
p_block
->
i_pts
:
p_block
->
i_dts
;
i_pts
=
p_block
->
i_pts
?
p_block
->
i_pts
:
p_block
->
i_dts
;
if
(
i_pts
<
mdate
()
)
if
(
decoder_GetDisplayDate
(
i_pts
)
<
mdate
()
)
{
{
p_sys
->
i_late
++
;
p_sys
->
i_late
++
;
}
}
...
...
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