mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
v4l2src: call set_caps method of baseclass
Call the baseclass set_caps function to make it send the caps event and properly trigger the negotiation functions.
This commit is contained in:
parent
fcbe26cd6f
commit
1b1fb68c23
1 changed files with 1 additions and 3 deletions
|
@ -421,9 +421,7 @@ gst_v4l2src_negotiate (GstBaseSrc * basesrc)
|
|||
result = TRUE;
|
||||
} else if (gst_caps_is_fixed (caps)) {
|
||||
/* yay, fixed caps, use those then */
|
||||
gst_pad_push_event (GST_BASE_SRC_PAD (basesrc),
|
||||
gst_event_new_caps (caps));
|
||||
result = gst_v4l2src_set_caps (basesrc, caps);
|
||||
result = gst_base_src_set_caps (basesrc, caps);
|
||||
}
|
||||
}
|
||||
gst_caps_unref (caps);
|
||||
|
|
Loading…
Reference in a new issue