mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
v4l2videoenc: Fix driver capability dectection
Use the right set of caps when checking if caps intersect. That makes the check only select the supported devices.
This commit is contained in:
parent
cebb5baaa6
commit
33e595b41c
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ gst_v4l2_is_video_enc (GstCaps * sink_caps, GstCaps * src_caps,
|
|||
}
|
||||
|
||||
if (gst_caps_is_subset (sink_caps, gst_v4l2_object_get_raw_caps ())
|
||||
&& check_caps (src_caps, gst_v4l2_object_get_codec_caps ()))
|
||||
&& check_caps (src_caps, codec_caps))
|
||||
ret = TRUE;
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue