Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2b18dcd0
Commit
2b18dcd0
authored
Sep 22, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
last timestamp and -vsync 0 fix
Originally committed as revision 3492 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
21e19131
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ffmpeg.c
ffmpeg.c
+6
-1
No files found.
ffmpeg.c
View file @
2b18dcd0
...
...
@@ -41,6 +41,9 @@
#include "cmdutils.h"
#undef NDEBUG
#include <assert.h>
#if !defined(INFINITY) && defined(HUGE_VAL)
#define INFINITY HUGE_VAL
#endif
...
...
@@ -1081,7 +1084,9 @@ static int output_packet(AVInputStream *ist, int ist_index,
AVFrame
picture
;
void
*
buffer_to_free
;
if
(
pkt
&&
pkt
->
dts
!=
AV_NOPTS_VALUE
)
{
//FIXME seems redundant, as libavformat does this too
if
(
!
pkt
){
ist
->
pts
=
ist
->
next_pts
;
// needed for last packet if vsync=0
}
else
if
(
pkt
->
dts
!=
AV_NOPTS_VALUE
)
{
//FIXME seems redundant, as libavformat does this too
ist
->
next_pts
=
ist
->
pts
=
pkt
->
dts
;
}
else
{
assert
(
ist
->
pts
==
ist
->
next_pts
);
...
...
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