aboutsummaryrefslogtreecommitdiffstats
path: root/ffprobe.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-25 13:50:51 -0300
committerJames Almer <jamrial@gmail.com>2017-03-25 22:42:57 -0300
commita044f8df6aff511367ccd075614be00190c3c968 (patch)
treedecb53a7f45d49b5f93d9264a43f9fa74239a1a7 /ffprobe.c
parentb53ac2a5283da595b5f5c7f685c5102dc3ed50ca (diff)
downloadffmpeg-a044f8df6aff511367ccd075614be00190c3c968.tar.gz
ffprobe: support skip_samples packet side data information
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 4a7ec0ad31..ba27bce823 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1806,6 +1806,11 @@ static void print_pkt_side_data(WriterContext *w,
print_int("yaw", (double) spherical->yaw / (1 << 16));
print_int("pitch", (double) spherical->pitch / (1 << 16));
print_int("roll", (double) spherical->roll / (1 << 16));
+ } else if (sd->type == AV_PKT_DATA_SKIP_SAMPLES && sd->size == 10) {
+ print_int("skip_samples", AV_RL32(sd->data));
+ print_int("discard_padding", AV_RL32(sd->data + 4));
+ print_int("skip_reason", AV_RL8(sd->data + 8));
+ print_int("discard_reason", AV_RL8(sd->data + 9));
}
writer_print_section_footer(w);
}