Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer authored on 2016/04/17 23:49:00... | ... |
@@ -221,9 +221,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) |
221 | 221 |
int found; |
222 | 222 |
|
223 | 223 |
found = read_vitc_line(s, frame->data[0], frame->linesize[0], inlink->w, inlink->h); |
224 |
- av_dict_set(&frame->metadata, "lavfi.readvitc.found", (found ? "1" : "0"), 0); |
|
224 |
+ av_dict_set(avpriv_frame_get_metadatap(frame), "lavfi.readvitc.found", (found ? "1" : "0"), 0); |
|
225 | 225 |
if (found) |
226 |
- av_dict_set(&frame->metadata, "lavfi.readvitc.tc_str", make_vitc_tc_string(s->tcbuf, s->line_data), 0); |
|
226 |
+ av_dict_set(avpriv_frame_get_metadatap(frame), "lavfi.readvitc.tc_str", make_vitc_tc_string(s->tcbuf, s->line_data), 0); |
|
227 | 227 |
|
228 | 228 |
return ff_filter_frame(outlink, frame); |
229 | 229 |
} |