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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user