mpegtsdemux: Fix off by one error
authorEdward Hervey <edward@centricular.com>
Fri, 13 Nov 2020 16:50:03 +0000 (17:50 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 13 Nov 2020 16:50:03 +0000 (17:50 +0100)
commit50e230a270b0403e82bad7d8fa64234e74476c8f
tree36039d06fb25bf3949141f96f175266bc45d640d
parentf9a0efe3ed107af9c1e76c7e71db090340c8118f
mpegtsdemux: Fix off by one error

Turns out timestamps of zero are valid :) Fixes issues with streams where the
PTS/DTS would be equal to the first PCR.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1807>
gst/mpegtsdemux/mpegtspacketizer.c