mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
vapostproc: Do not append ANY caps into pad template
The ANY caps in pad template caps seems to mess up the DMA negotiation. The command of: GST_GL_API=opengl gst-launch-1.0 -vf videotestsrc ! video/x-raw,format=NV12 ! vapostproc ! "video/x-raw(memory:DMABuf)" ! glimagesink fails to negotiate, but in fact, the vapostproc can convert the input NV12 formant into the RGBA format to render. The ANY may help the passthough mode, but we should make the negotiate correct first. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6698>
This commit is contained in:
parent
e82eb628b1
commit
38a4224c8c
1 changed files with 0 additions and 7 deletions
|
@ -2220,13 +2220,6 @@ gst_va_vpp_class_init (gpointer g_class, gpointer class_data)
|
|||
if (gst_va_filter_open (filter)) {
|
||||
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 ());
|
||||
caps = gst_caps_merge (caps, any_caps);
|
||||
}
|
||||
|
||||
/* add converter klass */
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue