glbumper: remove redundant check

This commit is contained in:
Matthew Waters 2014-04-02 22:54:55 +11:00 committed by Tim-Philipp Müller
parent ff52514714
commit 394128a4db

View file

@ -169,9 +169,6 @@ gst_gl_bumper_init_resources (GstGLFilter * filter)
png_byte magic[8];
gint n_read;
if (!context)
return;
if (!bumper->location) {
gst_gl_context_set_error (context, "A filename is required");
return;