x265enc: add negative DTS support
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 18 Jun 2021 17:26:35 +0000 (19:26 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 21 Jun 2021 10:31:21 +0000 (10:31 +0000)
commit08323f382c61bc7b529ec2eee8f719ffb7fedb95
tree729344039eb20d86b3a478acc3749750142875d1
parentba83f29cecf950ca8b41ef476c51f047cc69a110
x265enc: add negative DTS support

Use the same set_min_pts approach as x264enc.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/304
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2340>
ext/x265/gstx265enc.c