avdemux: reset to 0 negative pts
authorNicola Murino <nicola.murino@gmail.com>
Sat, 23 Sep 2017 15:14:03 +0000 (17:14 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 6 Oct 2017 01:40:55 +0000 (21:40 -0400)
commitf86dfde0a43bc031db405766819361da31ed6665
tree9e807e14a9b9ddc0043bcdc9b325e688f75414e9
parente6773f6932d5e09568bcb72c65c4b75e78635eb5
avdemux: reset to 0 negative pts

for us pts are unsigned so reset to 0 negative pts returned from libav.
This is better than outputs completly wrong timestamps

https://bugzilla.gnome.org/show_bug.cgi?id=787795
ext/libav/gstavdemux.c