Skip to content

nvdec: Skip draining before creating internal parser

GstVideoDecoder::drain/flush can be called at very initial state with stream-start and flush-stop event, respectively. Draning with NULL CUvideoparser seems to unsafe and that eventually failed to handle it.

Merge request reports