glbumper: remove redundant check
This commit is contained in:
parent
7d2d3b3b80
commit
cb8f90e4c3
@ -169,9 +169,6 @@ gst_gl_bumper_init_resources (GstGLFilter * filter)
|
|||||||
png_byte magic[8];
|
png_byte magic[8];
|
||||||
gint n_read;
|
gint n_read;
|
||||||
|
|
||||||
if (!context)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (!bumper->location) {
|
if (!bumper->location) {
|
||||||
gst_gl_context_set_error (context, "A filename is required");
|
gst_gl_context_set_error (context, "A filename is required");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user