mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
validate: Do not query pad caps to check if caps are properly fowarded
Query caps will actually get the caps from downstream and those caps might be different in case there is a Filter in between. What we want is to check that the caps set on the internally linked pads are correct.
This commit is contained in:
parent
36f9ba8f52
commit
ff4879c749
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ gst_validate_pad_monitor_get_othercaps (GstValidatePadMonitor * monitor)
|
|||
|
||||
/* TODO What would be the correct caps operation to merge the caps in
|
||||
* case one sink is internally linked to multiple srcs? */
|
||||
peercaps = gst_pad_peer_query_caps (otherpad, NULL);
|
||||
peercaps = gst_pad_get_current_caps (otherpad);
|
||||
if (peercaps)
|
||||
caps = gst_caps_merge (caps, peercaps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue