... | ... |
@@ -53,6 +53,8 @@ |
53 | 53 |
<xsd:attribute name="pkt_pts_time" type="xsd:float"/> |
54 | 54 |
<xsd:attribute name="pkt_dts" type="xsd:long" /> |
55 | 55 |
<xsd:attribute name="pkt_dts_time" type="xsd:float"/> |
56 |
+ <xsd:attribute name="pkt_duration" type="xsd:long" /> |
|
57 |
+ <xsd:attribute name="pkt_duration_time" type="xsd:float"/> |
|
56 | 58 |
<xsd:attribute name="pkt_pos" type="xsd:long" /> |
57 | 59 |
|
58 | 60 |
<!-- audio attributes --> |
... | ... |
@@ -1567,6 +1567,8 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream) |
1567 | 1567 |
print_time("pkt_pts_time", frame->pkt_pts, &stream->time_base); |
1568 | 1568 |
print_ts ("pkt_dts", frame->pkt_dts); |
1569 | 1569 |
print_time("pkt_dts_time", frame->pkt_dts, &stream->time_base); |
1570 |
+ print_duration_ts ("pkt_duration", frame->pkt_duration); |
|
1571 |
+ print_duration_time("pkt_duration_time", frame->pkt_duration, &stream->time_base); |
|
1570 | 1572 |
if (frame->pkt_pos != -1) print_fmt ("pkt_pos", "%"PRId64, frame->pkt_pos); |
1571 | 1573 |
else print_str_opt("pkt_pos", "N/A"); |
1572 | 1574 |
|