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
cf9812d2
Commit
cf9812d2
authored
May 20, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: move setting big_picture.pts up
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
cd945d21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ffmpeg.c
ffmpeg.c
+2
-1
No files found.
ffmpeg.c
View file @
cf9812d2
...
@@ -1982,6 +1982,8 @@ duplicate_frame:
...
@@ -1982,6 +1982,8 @@ duplicate_frame:
pkt
.
data
=
NULL
;
pkt
.
data
=
NULL
;
pkt
.
size
=
0
;
pkt
.
size
=
0
;
in_picture
->
pts
=
ost
->
sync_opts
;
if
(
s
->
oformat
->
flags
&
AVFMT_RAWPICTURE
&&
if
(
s
->
oformat
->
flags
&
AVFMT_RAWPICTURE
&&
enc
->
codec
->
id
==
CODEC_ID_RAWVIDEO
)
{
enc
->
codec
->
id
==
CODEC_ID_RAWVIDEO
)
{
/* raw pictures are written as AVPicture structure to
/* raw pictures are written as AVPicture structure to
...
@@ -2015,7 +2017,6 @@ duplicate_frame:
...
@@ -2015,7 +2017,6 @@ duplicate_frame:
big_picture
.
quality
=
quality
;
big_picture
.
quality
=
quality
;
if
(
!
enc
->
me_threshold
)
if
(
!
enc
->
me_threshold
)
big_picture
.
pict_type
=
0
;
big_picture
.
pict_type
=
0
;
big_picture
.
pts
=
ost
->
sync_opts
;
if
(
ost
->
forced_kf_index
<
ost
->
forced_kf_count
&&
if
(
ost
->
forced_kf_index
<
ost
->
forced_kf_count
&&
big_picture
.
pts
>=
ost
->
forced_kf_pts
[
ost
->
forced_kf_index
])
{
big_picture
.
pts
>=
ost
->
forced_kf_pts
[
ost
->
forced_kf_index
])
{
big_picture
.
pict_type
=
AV_PICTURE_TYPE_I
;
big_picture
.
pict_type
=
AV_PICTURE_TYPE_I
;
...
...
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