gstreamer/gst/gl
Tim-Philipp Müller 5b9e4b8282 [493/906] glfiltershader: fix crash when loading shader file
Just use g_file_get_contents() instead of home-made file loading.
Fixes two issues - one is that we should pass "r" to fopen and
not O_RDONLY, the other is that an incorrect variable was used
to read the file length, leading to an empty shader file.

Spotted by: Wang Xin-yu (王昕宇) <comicfans44@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=702844
https://bugzilla.gnome.org/show_bug.cgi?id=702845

Conflicts:
	gst/gl/gstglfiltershader.c
2014-03-15 18:36:43 +01:00
..
effects [491/906] glES2.0: properly fails if driver/kernel inconsistency 2014-03-15 18:36:43 +01:00
BUGS [206/906] Do not use frame buffer object when "input video is RGB" or when "GLSL is not available and YCbCr is available". So frame buffer object is not a plugin requirement anymore. So I decreased the OpengGL version from 1.4 to 1.2 (maybe less?) 2014-03-15 18:36:27 +01:00
CMakeLists.txt [473/906] cmake build: 2.8 is now required and add jpeg 2014-03-15 18:36:42 +01:00
gltestsrc.c [310/906] Global reindent 2014-03-15 18:36:33 +01:00
gltestsrc.h [096/906] up 2014-03-15 18:36:20 +01:00
GNUmakefile.gnustep [471/906] glshader: add dynamic fragment shader filter 2014-03-15 18:36:42 +01:00
gstglbumper.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstglbumper.h [299/906] use libpng to load the normal map instead of using gdkpixbuf 2014-03-15 18:36:32 +01:00
gstglcolorscale.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstglcolorscale.h [108/906] git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@540 93df14bb-0f41-7a43-8087-d3e2a2f0e464 2014-03-15 18:36:21 +01:00
gstgldeinterlace.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstgldeinterlace.h [353/906] add a gldeinterlace filter 2014-03-15 18:36:35 +01:00
gstgldifferencematte.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstgldifferencematte.h [453/906] blur: give up some accuracy for speed 2014-03-15 18:36:41 +01:00
gstgldownload.c [483/906] glelements: do not leak parent when using gst_pad_get_parent 2014-03-15 18:36:43 +01:00
gstgldownload.h [103/906] rename glgraphicmaker -> glupload and glvideomaker -> gldownload 2014-03-15 18:36:21 +01:00
gstgleffects.c [488/906] libvisual-gl: full compatibility with projectM-libvisual if libprojectM >= 2.0.1 2014-03-15 18:36:43 +01:00
gstgleffects.h [447/906] xray: port to the new separable sobel convolution 2014-03-15 18:36:40 +01:00
gstglfilterapp.c [462/906] various: add missing G_PARAM_STATIC_STRINGS flags 2014-03-15 18:36:41 +01:00
gstglfilterapp.h [406/906] glimagesink: add a client-data property 2014-03-15 18:36:38 +01:00
gstglfilterblur.c [487/906] gl: Fix compiler warnings 2014-03-15 18:36:43 +01:00
gstglfilterblur.h [453/906] blur: give up some accuracy for speed 2014-03-15 18:36:41 +01:00
gstglfiltercube.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstglfiltercube.h [321/906] add OpenGL ES 2.x support. 2014-03-15 18:36:33 +01:00
gstglfilterglass.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstglfilterglass.h [231/906] Add a glfilterglass inspired from http://www.mdk.org.pl/2007/11/17/gl-colorspace-conversions 2014-03-15 18:36:28 +01:00
gstglfilterlaplacian.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstglfilterlaplacian.h [130/906] use GstGLShader in the GLSL colorspace conversion 2014-03-15 18:36:22 +01:00
gstglfilterreflectedscreen.c [462/906] various: add missing G_PARAM_STATIC_STRINGS flags 2014-03-15 18:36:41 +01:00
gstglfilterreflectedscreen.h [438/906] glfilterreflectedscreen: improve behavior and add some properties 2014-03-15 18:36:40 +01:00
gstglfiltershader.c [493/906] glfiltershader: fix crash when loading shader file 2014-03-15 18:36:43 +01:00
gstglfiltershader.h [471/906] glshader: add dynamic fragment shader filter 2014-03-15 18:36:42 +01:00
gstglfiltersobel.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstglfiltersobel.h [441/906] sobel: convolve only luma 2014-03-15 18:36:40 +01:00
gstglimagesink.c [491/906] glES2.0: properly fails if driver/kernel inconsistency 2014-03-15 18:36:43 +01:00
gstglimagesink.h [455/906] glimagesink: handle pixel-aspect-ratio 2014-03-15 18:36:41 +01:00
gstglmosaic.c [481/906] feature checking: error out instead of doing nothing if an OpenGL feature is not present 2014-03-15 18:36:42 +01:00
gstglmosaic.h [393/906] glmosaic: for now it's a cube mosaic 2014-03-15 18:36:37 +01:00
gstgloverlay.c [480/906] win32 builds: add glshader filter sources to vs9 and codeblocks 2014-03-15 18:36:42 +01:00
gstgloverlay.h [470/906] gloverlay: add jpeg support 2014-03-15 18:36:42 +01:00
gstgltestsrc.c [490/906] gldisplay: error out instead of g_assert 2014-03-15 18:36:43 +01:00
gstgltestsrc.h [229/906] update authors from the CVS repository 2014-03-15 18:36:28 +01:00
gstglupload.c [483/906] glelements: do not leak parent when using gst_pad_get_parent 2014-03-15 18:36:43 +01:00
gstglupload.h [334/906] [win32/winCE] fix some pointer cast warnings with mingw 2014-03-15 18:36:34 +01:00
gstopengl.c [474/906] build: make libjpeg use conditional 2014-03-15 18:36:42 +01:00
Makefile.am [474/906] build: make libjpeg use conditional 2014-03-15 18:36:42 +01:00