glbumper: remove redundant check
This commit is contained in:
parent
ff52514714
commit
394128a4db
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user