mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
fftools: use the new AVFrame keyframe flag
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
af8db9106c
commit
c7a8681860
3 changed files with 5 additions and 5 deletions
|
|
@ -2594,7 +2594,7 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,
|
|||
if (s) print_str ("media_type", s);
|
||||
else print_str_opt("media_type", "unknown");
|
||||
print_int("stream_index", stream->index);
|
||||
print_int("key_frame", frame->key_frame);
|
||||
print_int("key_frame", !!(frame->flags & AV_FRAME_FLAG_KEY));
|
||||
print_ts ("pts", frame->pts);
|
||||
print_time("pts_time", frame->pts, &stream->time_base);
|
||||
print_ts ("pkt_dts", frame->pkt_dts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue