nvdec: Fix division by zero when calculating buffer duration
authorSeungha Yang <seungha@centricular.com>
Tue, 5 Dec 2023 10:52:22 +0000 (19:52 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 14 Dec 2023 12:05:08 +0000 (12:05 +0000)
commit912f85914877a70c259c3eba94d30961247e6ef9
treed85cb69d1c746d1f75b4cbdcb54dc15a862731ea
parent01cc9d97d786010bdeffd999d7012f6f0de2038c
nvdec: Fix division by zero when calculating buffer duration

Don't try to calculate buffer duration from variable framerate

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5774>
subprojects/gst-plugins-bad/sys/nvcodec/gstnvdec.c