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
caf7381d
Commit
caf7381d
authored
Jun 24, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: fix mixup of old and new sinks
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f8fe4d22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
ffmpeg.c
ffmpeg.c
+2
-6
No files found.
ffmpeg.c
View file @
caf7381d
...
...
@@ -104,8 +104,6 @@
#define VSYNC_VFR 2
#define VSYNC_DROP 0xff
#define SINKA
const
char
program_name
[]
=
"ffmpeg"
;
const
int
program_birth_year
=
2000
;
...
...
@@ -1925,13 +1923,11 @@ static int poll_filters(void)
!
(
ost
->
enc
->
capabilities
&
CODEC_CAP_VARIABLE_FRAME_SIZE
))
ret
=
av_buffersink_read_samples
(
ost
->
filter
->
filter
,
&
picref
,
ost
->
st
->
codec
->
frame_size
);
else
#ifdef SINKA
else
if
(
ost
->
enc
->
type
==
AVMEDIA_TYPE_AUDIO
)
ret
=
av_buffersink_read
(
ost
->
filter
->
filter
,
&
picref
);
#
else
else
ret
=
av_buffersink_get_buffer_ref
(
ost
->
filter
->
filter
,
&
picref
,
AV_BUFFERSINK_FLAG_NO_REQUEST
);
#endif
if
(
ret
<
0
)
{
if
(
ret
!=
AVERROR
(
EAGAIN
)
&&
ret
!=
AVERROR_EOF
)
{
char
buf
[
256
];
...
...
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