mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
eglglessink: Drop wrong format test on _setcaps (draft leftover)
This commit is contained in:
parent
75d4bf420a
commit
a83dae1b54
1 changed files with 0 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue