mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
nvencoder: Fix negotiation error when interlace-mode is unspecified
Use GST_PAD_SET_ACCEPT_INTERSECT() to accept caps without interlace-mode field Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5240>
This commit is contained in:
parent
adea0b45f7
commit
5f433d7ff2
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ gst_nv_encoder_init (GstNvEncoder * self)
|
|||
|
||||
gst_video_encoder_set_min_pts (GST_VIDEO_ENCODER (self),
|
||||
GST_SECOND * 60 * 60 * 1000);
|
||||
GST_PAD_SET_ACCEPT_INTERSECT (GST_VIDEO_ENCODER_SINK_PAD (self));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue