mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
[628/906] shader filter: don't do anything if we don't have a shader file
This commit is contained in:
parent
86844030d6
commit
1fc0f14d44
1 changed files with 3 additions and 0 deletions
|
@ -269,6 +269,9 @@ gst_gl_filtershader_load_file (const gchar * filename, gchar ** storage)
|
|||
static void
|
||||
gst_gl_filtershader_load_shader (char *filename, char **storage)
|
||||
{
|
||||
g_return_if_fail (filename != NULL);
|
||||
g_return_if_fail (storage != NULL);
|
||||
|
||||
if (gst_gl_filtershader_load_file (filename, storage)) {
|
||||
exit (1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue