mmal/codec: Fall back to dts if pts is no available
commitb37dcfb6bfc39c0f98a0751461c3b8c668104d5c
authorJulian Scheel <julian@jusst.de>
Wed, 17 Jun 2015 10:14:26 +0000 (17 12:14 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 17 Jun 2015 12:21:14 +0000 (17 14:21 +0200)
tree17a0c9a578cd9281ba9a2653bd38a0e583a575fe
parent73689dd333148138353fbd82359ba37215b1c36d
mmal/codec: Fall back to dts if pts is no available

If a container does not provide pts fall back to use the provided dts instead.
This is sometimes seen with mp4 and mov containers.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/hw/mmal/codec.c