Commit de8fda9c authored by Thiago Santos's avatar Thiago Santos

videomixer2: Fail when caps are incompatible

Do not forget to return false when caps are incompatible.
parent 84355290
......@@ -260,6 +260,7 @@ gst_videomixer2_update_src_caps (GstVideoMixer2 * mix)
gst_caps_unref (peercaps);
caps = tmp;
if (gst_caps_is_empty (caps)) {
ret = FALSE;
goto done;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment