mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
d393232bc2
Setting the CUVID_PKT_DISCONTINUITY implies clearing any past information about the stream in the decoder. The GStreamer discont flag is used for discontinuity caused by a seek, for first buffer and if a buffer was dropped. In the first two cases, the parsers and demuxers should ensure we start from a synchronization point, so it's unlikely that delta will be matched against the wrong state. For packet lost, the discontinuity flag will prevent the decoder from doing any concealment, with a result that ca be much worst visually, or freeze the playback until an IDR is met. It's better to let the decoder handle that for us. Removing this flag, also workaround a but in NVidia parser that makes it ignore our ENDOFFRAME flag and increase the latency by one frame. |
||
---|---|---|
.. | ||
stub | ||
cuviddec.h | ||
gstcudacontext.c | ||
gstcudacontext.h | ||
gstcudaloader.c | ||
gstcudaloader.h | ||
gstcudautils.c | ||
gstcudautils.h | ||
gstcuvidloader.c | ||
gstcuvidloader.h | ||
gstnvbaseenc.c | ||
gstnvbaseenc.h | ||
gstnvdec.c | ||
gstnvdec.h | ||
gstnvenc.c | ||
gstnvenc.h | ||
gstnvh264enc.c | ||
gstnvh264enc.h | ||
gstnvh265enc.c | ||
gstnvh265enc.h | ||
meson.build | ||
nvcuvid.h | ||
nvEncodeAPI.h | ||
plugin.c |