tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts
authorJun Zhao <mypopydev@gmail.com>
Tue, 12 Feb 2019 06:16:57 +0000 (14:16 +0800)
committerJun Zhao <mypopydev@gmail.com>
Tue, 12 Feb 2019 14:28:15 +0000 (22:28 +0800)
commit84e7aff60816d8f491194a9d96d906c39ad052db
tree99dc0fa10e2fab5d30c9564c3d8c76fc8135c323
parent9f33b0ed392f508ddcd6299c89beeed5addce3ff
tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts

Use av_ts2str() for AVFrame.pkt_dts/pts to avoid print the
pkt_dts/pts as negative number like:
"0,    3616613, -9223372036854775808,     1001,  3110400, 0x75e37a65"

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
tests/api/api-h264-test.c