History

fftools/ffprobe: print crop_* frame fields

James Almer committed 3 years ago

Commit 20dade21 parent 197982219 files · +281 −97Browse files

Showing the changes to fftools (1 of 19 files). Show all

Unified · Split

fftools/ffprobe.c+4−0
@@ -2620,6 +2620,10 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream, · 2619 unmodified lines
2620 case AVMEDIA_TYPE_VIDEO:2620 case AVMEDIA_TYPE_VIDEO:
2621 print_int("width", frame->width);2621 print_int("width", frame->width);
2622 print_int("height", frame->height);2622 print_int("height", frame->height);
2623 print_int("crop_top", frame->crop_top);
2624 print_int("crop_bottom", frame->crop_bottom);
2625 print_int("crop_left", frame->crop_left);
2626 print_int("crop_right", frame->crop_left);
2623 s = av_get_pix_fmt_name(frame->format);2627 s = av_get_pix_fmt_name(frame->format);
2624 if (s) print_str ("pix_fmt", s);2628 if (s) print_str ("pix_fmt", s);
2625 else print_str_opt("pix_fmt", "unknown");2629 else print_str_opt("pix_fmt", "unknown");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t