Showing the changes to fftools (1 of 1 file). Show all
Unified · Split
| @@ -2628,6 +2628,11 @@ static void print_pkt_side_data(WriterContext *w, · 2627 unmodified lines | ||
| 2628 | 2628 | if (do_show_data) |
| 2629 | 2629 | writer_print_data(w, "data", sd->data, sd->size); |
| 2630 | 2630 | writer_print_data_hash(w, "data_hash", sd->data, sd->size); |
| 2631 | + } else if (sd->type == AV_PKT_DATA_FRAME_CROPPING && sd->size >= sizeof(uint32_t) * 4) { | |
| 2632 | + print_int("crop_top", AV_RL32(sd->data)); | |
| 2633 | + print_int("crop_bottom", AV_RL32(sd->data + 4)); | |
| 2634 | + print_int("crop_left", AV_RL32(sd->data + 8)); | |
| 2635 | + print_int("crop_right", AV_RL32(sd->data + 12)); | |
| 2631 | 2636 | } else if (sd->type == AV_PKT_DATA_AFD && sd->size > 0) { |
| 2632 | 2637 | print_int("active_format", *sd->data); |
| 2633 | 2638 | } |