summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-22 11:56:55 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-25 13:42:47 +0200
commit43583fb85c75ce66f57a6654ca65b55c1c026aae (patch)
treed906c1fb92c24673a2e4e973920afd20196a2f57 /ffmpeg.c
parent972cad77fa13ae312650dd0b7b99e484ffcb7949 (diff)
downloadffmpeg-streaming-43583fb85c75ce66f57a6654ca65b55c1c026aae.zip
ffmpeg-streaming-43583fb85c75ce66f57a6654ca65b55c1c026aae.tar.gz
lavfi/avcodec: deprecate avfilter_fill_frame_from_*_buffer_ref API
Deprecate functions: avfilter_fill_frame_from_buffer_ref avfilter_fill_frame_from_audio_buffer_ref avfilter_fill_frame_from_video_buffer_ref and schedule to drop them at the next API major bump. The function avfilter_copy_buf_props() should be used instead.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index fea712d..03b1f36 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1964,7 +1964,7 @@ static int poll_filters(void)
switch (ost->filter->filter->inputs[0]->type) {
case AVMEDIA_TYPE_VIDEO:
- avfilter_fill_frame_from_video_buffer_ref(filtered_frame, picref);
+ avfilter_copy_buf_props(filtered_frame, picref);
filtered_frame->pts = frame_pts;
if (!ost->frame_aspect_ratio)
ost->st->codec->sample_aspect_ratio = picref->video->sample_aspect_ratio;
OpenPOWER on IntegriCloud