diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-07-27 18:58:15 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-07-28 11:47:21 +0300 |
commit | 9e1919c040ea246d23239c5cd07b9e39bb7b111c (patch) | |
tree | 16d9dcdbc09786bdd1453c2bc035087cb5855234 /gst | |
parent | 9c9ad0c8d6c1046ad09e76234abdb08aa6e17fde (diff) |
videocrop: Resurrect any caps feature negotiation.
Commit e31cbce4 brought a regression to negotiate featured caps. But
only by removing the entry in the caps template. This commit brings it
back.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1039>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/videocrop/gstvideocrop-private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/videocrop/gstvideocrop-private.h b/gst/videocrop/gstvideocrop-private.h index 2c9e4ee14..92b9b8903 100644 --- a/gst/videocrop/gstvideocrop-private.h +++ b/gst/videocrop/gstvideocrop-private.h @@ -26,6 +26,10 @@ VIDEO_CROP_FORMATS_PACKED_SIMPLE "," \ VIDEO_CROP_FORMATS_PACKED_COMPLEX "," \ VIDEO_CROP_FORMATS_PLANAR "," \ - VIDEO_CROP_FORMATS_SEMI_PLANAR "}") + VIDEO_CROP_FORMATS_SEMI_PLANAR "}") "; " \ + "video/x-raw(ANY), " \ + "width = " GST_VIDEO_SIZE_RANGE ", " \ + "height = " GST_VIDEO_SIZE_RANGE ", " \ + "framerate = " GST_VIDEO_FPS_RANGE #endif /* __GST_VIDEO_CROP_PRIVATE_H__ */ |