diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-22 11:56:55 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-25 13:42:47 +0200 |
commit | 43583fb85c75ce66f57a6654ca65b55c1c026aae (patch) | |
tree | d906c1fb92c24673a2e4e973920afd20196a2f57 /ffmpeg.c | |
parent | 972cad77fa13ae312650dd0b7b99e484ffcb7949 (diff) | |
download | ffmpeg-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |