mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
fftools/ffprobe: print crop_* frame fields
Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
19798229df
commit
20dade27d9
19 changed files with 281 additions and 97 deletions
|
|
@ -2620,6 +2620,10 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,
|
|||
case AVMEDIA_TYPE_VIDEO:
|
||||
print_int("width", frame->width);
|
||||
print_int("height", frame->height);
|
||||
print_int("crop_top", frame->crop_top);
|
||||
print_int("crop_bottom", frame->crop_bottom);
|
||||
print_int("crop_left", frame->crop_left);
|
||||
print_int("crop_right", frame->crop_left);
|
||||
s = av_get_pix_fmt_name(frame->format);
|
||||
if (s) print_str ("pix_fmt", s);
|
||||
else print_str_opt("pix_fmt", "unknown");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue