avformat/tee: Rescale ts using av_packet_rescale_ts
authorJan Sebechlebsky <sebechlebskyjan@gmail.com>
Sat, 16 Jul 2016 11:27:50 +0000 (13:27 +0200)
committerMarton Balint <cus@passwd.hu>
Sat, 23 Jul 2016 18:02:05 +0000 (20:02 +0200)
commit75bd5d3e2dde249e488f0e72284339e21aefa5c8
tree4fcdde40fa01f17762f461f292c8c38864487479
parentece12db4f1a57d453c33cdd3baf64478034dab42
avformat/tee: Rescale ts using av_packet_rescale_ts

This ensures that AV_NOPTS_VALUE value is handled
correctly.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/tee.c