Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
ffworker
Commits
c264c64b
Commit
c264c64b
authored
Dec 13, 2017
by
Julian Rother
Browse files
transcode: Reset frametype to prevent encoder problems
parent
cd626cd2
Changes
1
Show whitespace changes
Inline
Side-by-side
transcode.c
View file @
c264c64b
...
...
@@ -203,6 +203,7 @@ static void flush_filtergraph(AVFormatContext *mux, AVFilterContext **sinks, AVC
for
(
i
=
0
;
i
<
mux
->
nb_streams
;
i
++
)
while
(
av_buffersink_get_frame
(
sinks
[
i
],
frame
)
>=
0
)
{
frame
->
pict_type
=
AV_PICTURE_TYPE_NONE
;
avcodec_send_frame
(
encs
[
i
],
frame
);
av_frame_unref
(
frame
);
flush_encoder
(
mux
,
sinks
[
i
],
encs
[
i
],
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