summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c7eed33)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5388>
/* Prefer the acquired caps over anything suggested downstream, this ensure
* that we preserves the bit depth, as we don't have any fancy fixation
* process */
/* Prefer the acquired caps over anything suggested downstream, this ensure
* that we preserves the bit depth, as we don't have any fancy fixation
* process */
- if (gst_caps_is_subset (acquired_caps, caps)) {
- gst_caps_unref (acquired_caps);
+ if (gst_caps_is_subset (acquired_caps, caps))
/* Fixate pixel format */
caps = gst_caps_fixate (caps);
/* Fixate pixel format */
caps = gst_caps_fixate (caps);
gst_v4l2_clear_error (&error);
use_acquired_caps:
gst_v4l2_clear_error (&error);
use_acquired_caps:
+ gst_caps_unref (acquired_caps);
gst_caps_unref (caps);
/* catch possible bogus driver that don't enumerate the format it actually
gst_caps_unref (caps);
/* catch possible bogus driver that don't enumerate the format it actually