mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
videomixer: Use the best width/height/etc if downstream can handle that
Before it was always using whatever downstream preferred, while the code and documentation claimed something different. https://bugzilla.gnome.org/show_bug.cgi?id=727180
This commit is contained in:
parent
61fe02a018
commit
ce1d4d9f21
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ gst_videomixer2_update_src_caps (GstVideoMixer2 * mix)
|
|||
caps = gst_video_info_to_caps (&info);
|
||||
|
||||
peercaps = gst_pad_peer_query_caps (mix->srcpad, NULL);
|
||||
if (peercaps) {
|
||||
if (peercaps && !gst_caps_can_intersect (peercaps, caps)) {
|
||||
GstCaps *tmp;
|
||||
|
||||
s = gst_caps_get_structure (caps, 0);
|
||||
|
|
Loading…
Reference in a new issue