mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +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/5229>
This commit is contained in:
parent
c927159f21
commit
315cfaf2d8
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,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