eglglessink: Drop wrong format test on _setcaps (draft leftover)

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-09-12 09:28:22 -03:00 committed by Sebastian Dröge
parent 75d4bf420a
commit a83dae1b54

View file

@ -1411,11 +1411,6 @@ gst_eglglessink_setcaps (GstBaseSink * bsink, GstCaps * caps)
goto HANDLE_ERROR;
}
if (eglglessink->format == GST_VIDEO_FORMAT_UNKNOWN) {
GST_ERROR_OBJECT (eglglessink, "Got unknown video format caps");
goto HANDLE_ERROR;
}
if (gst_eglglessink_get_compat_format_from_caps (eglglessink, caps) ==
GST_EGLGLESSINK_IMAGE_NOFMT) {
GST_ERROR_OBJECT (eglglessink, "Unsupported format");