vpxenc: conver input pts to running time
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>
Wed, 11 May 2022 13:37:44 +0000 (15:37 +0200)
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>
Thu, 12 May 2022 11:00:53 +0000 (13:00 +0200)
commit10b837ae5e9d9205b0facbad93697c97e4a0b6dc
treef4548f30c47ec2e622b86a5ad8a7cd1e54f14977
parent1e829696e83bab49cae120f81c326d7a3a84f84a
vpxenc: conver input pts to running time

The input pts needs to be strictly increasing, see vpx_codec_encode() doc, so convert it to
running time as we don't want to reset the encoder for each segment.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2405>
subprojects/gst-plugins-good/ext/vpx/gstvpxenc.c