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
c0e8bce3
Commit
c0e8bce3
authored
Sep 01, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with --disable-avfilter.
Fixes ticket #425.
parent
2f870e26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ffmpeg.c
ffmpeg.c
+4
-1
No files found.
ffmpeg.c
View file @
c0e8bce3
...
...
@@ -1078,9 +1078,10 @@ static void do_video_resample(OutputStream *ost,
AVFrame
**
out_picture
)
{
int
resample_changed
=
0
;
AVCodecContext
*
dec
=
ist
->
st
->
codec
;
*
out_picture
=
in_picture
;
#if !CONFIG_AVFILTER
AVCodecContext
*
dec
=
ist
->
st
->
codec
;
AVCodecContext
*
enc
=
ost
->
st
->
codec
;
resample_changed
=
ost
->
resample_width
!=
dec
->
width
||
ost
->
resample_height
!=
dec
->
height
||
ost
->
resample_pix_fmt
!=
dec
->
pix_fmt
;
...
...
@@ -2320,6 +2321,7 @@ static int transcode(OutputFile *output_files,
do_pkt_dump
=
1
;
av_log_set_level
(
AV_LOG_DEBUG
);
}
#if CONFIG_AVFILTER
if
(
key
==
'c'
||
key
==
'C'
){
char
ret
[
4096
],
target
[
64
],
cmd
[
256
],
arg
[
256
]
=
{
0
};
double
ts
;
...
...
@@ -2346,6 +2348,7 @@ static int transcode(OutputFile *output_files,
fprintf
(
stderr
,
"Parse error
\n
"
);
}
}
#endif
if
(
key
==
'd'
||
key
==
'D'
){
int
debug
=
0
;
if
(
key
==
'D'
)
{
...
...
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