nvenc: Fix caps negotiation failure on unspecified interlace-mode
authorSeungha Yang <seungha.yang@navercorp.com>
Fri, 26 Jul 2019 15:52:59 +0000 (00:52 +0900)
committerSebastian Dröge <slomo@coaxion.net>
Tue, 6 Aug 2019 15:03:22 +0000 (15:03 +0000)
commit9e81f8e7006ef07f3dfd33ec00df611e3cdf576c
tree3206a424d6a2e6cd3f6c8c69d32d52909833de46
parentb43d0f785cbfd079cac34a24b0cb7ab82125cd7f
nvenc: Fix caps negotiation failure on unspecified interlace-mode

During GstVideoInfo conversion from GstCaps, interlace-mode is
inferred to progressive so unspecified interlace-mode should not cause any
negotiation issue. Simly set GST_PAD_FLAG_ACCEPT_INTERSECT flag
on sinkpad to fix issue.
sys/nvcodec/gstnvbaseenc.c