summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_lavfi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-30 13:36:44 +0100
committerwm4 <wm4@nowhere>2017-10-30 13:36:44 +0100
commitd6ebb2df47fa2827aecdcf236a234cd2fe74fe2c (patch)
treee4a37397aab422549250e021ff0dd9f70beae089 /video/filter/vf_lavfi.c
parent4f51326c28075b7b57ec21c201f71757fe77a000 (diff)
downloadmpv-d6ebb2df47fa2827aecdcf236a234cd2fe74fe2c.tar.bz2
mpv-d6ebb2df47fa2827aecdcf236a234cd2fe74fe2c.tar.xz
Get rid of deprecated AVFrame accessors
Fist we were required to use them for ABI compat. reasons (and other BS), now they're deprecated and we're supposed to access them directly again.
Diffstat (limited to 'video/filter/vf_lavfi.c')
-rw-r--r--video/filter/vf_lavfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_lavfi.c b/video/filter/vf_lavfi.c
index eefa051e05..7f5561cf57 100644
--- a/video/filter/vf_lavfi.c
+++ b/video/filter/vf_lavfi.c
@@ -326,7 +326,7 @@ static void get_metadata_from_av_frame(struct vf_instance *vf, AVFrame *frame)
if (!p->metadata)
p->metadata = talloc_zero(p, struct mp_tags);
- mp_tags_copy_from_av_dictionary(p->metadata, av_frame_get_metadata(frame));
+ mp_tags_copy_from_av_dictionary(p->metadata, frame->metadata);
#endif
}