Skip to content

Commit 213c61d

Browse files
committed
* change plugin to use new GstGLBaseAudioVisualizer to handle GL context
* make some things more compact * removed some code that did not seem to do anything
1 parent 7b1ecac commit 213c61d

9 files changed

+736
-261
lines changed

Diff for: CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ add_library(gstprojectm SHARED
2020
src/debug.c
2121
src/config.h
2222
src/enums.h
23-
src/gl.h
24-
src/gl.c
25-
src/plugin.h
23+
src/plugin.h
2624
src/plugin.c
2725
src/projectm.h
2826
src/projectm.c
27+
src/gstglbaseaudiovisualizer.h
28+
src/gstglbaseaudiovisualizer.c
2929
)
3030

3131
target_include_directories(gstprojectm

Diff for: src/caps.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const gchar *get_video_src_cap(unsigned int type)
4242
switch (type)
4343
{
4444
case 0:
45-
format = GST_VIDEO_CAPS_MAKE("video/x-raw, format = (string) { RGBA, BGRA }, framerate=(fraction)[0/1,MAX]");
45+
format = GST_VIDEO_CAPS_MAKE("video/x-raw, format = (string) { RGBA }, framerate=(fraction)[0/1,MAX]");
4646
break;
4747
default:
4848
format = NULL;

Diff for: src/gl.c

-157
This file was deleted.

Diff for: src/gl.h

-18
This file was deleted.

0 commit comments

Comments
 (0)