diff options
author | James Almer <jamrial@gmail.com> | 2017-03-25 13:47:15 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-29 21:20:06 -0300 |
commit | c14b3ea93c4f009a25ffa82452b5cf8b36a1bbbe (patch) | |
tree | bd20bae928328dd58190f0b77cdf4e395008b1d8 | |
parent | b5e1ec5660692d7cee360da3ed0434d3b46f40d5 (diff) | |
download | ffmpeg-streaming-c14b3ea93c4f009a25ffa82452b5cf8b36a1bbbe.zip ffmpeg-streaming-c14b3ea93c4f009a25ffa82452b5cf8b36a1bbbe.tar.gz |
ffprobe: fix printing packet side data information
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | ffprobe.c | 4 | ||||
-rw-r--r-- | tests/ref/fate/mov-aac-2048-priming | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1856,12 +1856,12 @@ static void print_pkt_side_data(WriterContext *w, { int i; - writer_print_section_header(w, SECTION_ID_STREAM_SIDE_DATA_LIST); + writer_print_section_header(w, id_data_list); for (i = 0; i < nb_side_data; i++) { const AVPacketSideData *sd = &side_data[i]; const char *name = av_packet_side_data_name(sd->type); - writer_print_section_header(w, SECTION_ID_STREAM_SIDE_DATA); + writer_print_section_header(w, id_data); print_str("side_data_type", name ? name : "unknown"); if (sd->type == AV_PKT_DATA_DISPLAYMATRIX && sd->size >= 9*4) { writer_print_integers(w, "displaymatrix", sd->data, 9, " %11d", 3, 4, 1); diff --git a/tests/ref/fate/mov-aac-2048-priming b/tests/ref/fate/mov-aac-2048-priming index 57e12f2..2616944 100644 --- a/tests/ref/fate/mov-aac-2048-priming +++ b/tests/ref/fate/mov-aac-2048-priming @@ -1,4 +1,4 @@ -packet|codec_type=audio|stream_index=0|pts=-2048|pts_time=-0.046440|dts=-2048|dts_time=-0.046440|duration=1024|duration_time=0.023220|convergence_duration=N/A|convergence_duration_time=N/A|size=258|pos=36|flags=KDside_data| +packet|codec_type=audio|stream_index=0|pts=-2048|pts_time=-0.046440|dts=-2048|dts_time=-0.046440|duration=1024|duration_time=0.023220|convergence_duration=N/A|convergence_duration_time=N/A|size=258|pos=36|flags=KDside_data|side_data_type=Skip Samples|skip_samples=2048|discard_padding=0|skip_reason=0|discard_reason=0 packet|codec_type=audio|stream_index=0|pts=-1024|pts_time=-0.023220|dts=-1024|dts_time=-0.023220|duration=1024|duration_time=0.023220|convergence_duration=N/A|convergence_duration_time=N/A|size=258|pos=294|flags=KD packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1024|duration_time=0.023220|convergence_duration=N/A|convergence_duration_time=N/A|size=146|pos=552|flags=K_ |