mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-03 18:53:13 +00:00
ffmpeg: replace av_vsrc_buffer_add_frame by av_buffersrc_add_frame.
This commit is contained in:
parent
6ec1e0fed9
commit
ba7395aace
2
ffmpeg.c
2
ffmpeg.c
@ -2662,7 +2662,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
|
||||
AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT |
|
||||
AV_BUFFERSRC_FLAG_NO_COPY);
|
||||
} else
|
||||
if(av_vsrc_buffer_add_frame(ist->filters[i]->filter, decoded_frame,AV_VSRC_BUF_FLAG_OVERWRITE)<0) {
|
||||
if(av_buffersrc_add_frame(ist->filters[i]->filter, decoded_frame, 0)<0) {
|
||||
av_log(NULL, AV_LOG_FATAL, "Failed to inject frame into filter network\n");
|
||||
exit_program(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user