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
0a088dea
Commit
0a088dea
authored
Jul 22, 2016
by
Mark Reid
Committed by
Michael Niedermayer
Jul 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg.c: copy video profile when using stream_copy
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
db8e8c97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ffmpeg.c
ffmpeg.c
+1
-0
No files found.
ffmpeg.c
View file @
0a088dea
...
@@ -3019,6 +3019,7 @@ static int transcode_init(void)
...
@@ -3019,6 +3019,7 @@ static int transcode_init(void)
enc_ctx
->
width
=
dec_ctx
->
width
;
enc_ctx
->
width
=
dec_ctx
->
width
;
enc_ctx
->
height
=
dec_ctx
->
height
;
enc_ctx
->
height
=
dec_ctx
->
height
;
enc_ctx
->
has_b_frames
=
dec_ctx
->
has_b_frames
;
enc_ctx
->
has_b_frames
=
dec_ctx
->
has_b_frames
;
enc_ctx
->
profile
=
dec_ctx
->
profile
;
if
(
ost
->
frame_aspect_ratio
.
num
)
{
// overridden by the -aspect cli option
if
(
ost
->
frame_aspect_ratio
.
num
)
{
// overridden by the -aspect cli option
sar
=
sar
=
av_mul_q
(
ost
->
frame_aspect_ratio
,
av_mul_q
(
ost
->
frame_aspect_ratio
,
...
...
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