Invalid caps from omxvideodec

Hi! I know that we should use nvv* decoder instead of omx* decoders, but looks like nvv* have a bug critical for me: Deadlock when try to seek in pipeline - and I can’t use it. So I tried to use omxvp9dec, but I see another problem: pipeline prints several critical errors at start.

Pipeline I use:

gst-launch-1.0 filesrc location=video.mkv !  matroskademux name=demuxer demuxer.video_0 ! omxvp9dec !  nvvidconv !  video/x-raw !  appsink name=sink emit-signals=true sync=false

Log (GST_DEBUG=3):

nvbuf_utils: Could not get EGL display connection
0:00:00.393638062 23616   0x7fb023d0c0 WARN                     omx gstomx.c:2826:plugin_init: Failed to load configuration file: Valid
 key file could not be found in search dirs (searched in: /home/nxdevice/.config:/etc/xdg as per GST_OMX_CONFIG_DIR environment variabl
e, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
0:00:00.411332872 23616   0x7fb023d0c0 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not ac
tivated yet
0:00:00.413616751 23616   0x7fb024d1e0 FIXME           videodecoder gstvideodecoder.c:933:gst_video_decoder_drain_out:<omxvp9dec-omxvp9
dec0> Sub-class should implement drain()

(seek_min_ex:23616): GStreamer-CRITICAL **: 10:30:35.776: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed

(seek_min_ex:23616): GStreamer-CRITICAL **: 10:30:35.776: gst_caps_truncate: assertion 'GST_IS_CAPS (caps)' failed

(seek_min_ex:23616): GStreamer-CRITICAL **: 10:30:35.776: gst_caps_fixate: assertion 'GST_IS_CAPS (caps)' failed

(seek_min_ex:23616): GStreamer-CRITICAL **: 10:30:35.776: gst_caps_get_structure: assertion 'GST_IS_CAPS (caps)' failed

(seek_min_ex:23616): GStreamer-CRITICAL **: 10:30:35.776: gst_structure_get_string: assertion 'structure != NULL' failed
0:00:00.415252469 23616   0x7fb024d1e0 ERROR            omxvideodec gstomxvideodec.c:3274:gst_omx_video_dec_negotiate:<omxvp9dec-omxvp9
dec0> Invalid caps: (NULL)

(seek_min_ex:23616): GStreamer-CRITICAL **: 10:30:35.776: gst_mini_object_unref: assertion 'mini_object != NULL' failed
NvMMLiteOpen : Block : BlockType = 280 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 280 

Looks like pipeline still works, and produce frames, but how can I fix errors that it prints?

Hi,
We have deprecated omx plugins, so it may not work properly in certain cases.

We are checking the seek issue internally:
Deadlock when try to seek in pipeline