mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
vadeinterlace: Do not append ANY caps into pad template
Just like the vapostproc, we delete the ANY caps in pad template to avoid unexpected negotiation. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6698>
This commit is contained in:
parent
38a4224c8c
commit
f235e0308d
1 changed files with 0 additions and 6 deletions
|
@ -724,12 +724,6 @@ gst_va_deinterlace_class_init (gpointer g_class, gpointer class_data)
|
|||
|
||||
if (gst_va_filter_open (filter)) {
|
||||
src_caps = gst_va_filter_get_caps (filter);
|
||||
/* adds any to enable passthrough */
|
||||
{
|
||||
GstCaps *any_caps = gst_caps_new_empty_simple ("video/x-raw");
|
||||
gst_caps_set_features_simple (any_caps, gst_caps_features_new_any ());
|
||||
src_caps = gst_caps_merge (src_caps, any_caps);
|
||||
}
|
||||
} else {
|
||||
src_caps = gst_caps_from_string (caps_str);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue