mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Sink: remove gtkconfig header
Remove another leftover meant for GTK3 compatibility
This commit is contained in:
@@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#include <gst/gl/gstglfuncs.h>
|
#include <gst/gl/gstglfuncs.h>
|
||||||
|
|
||||||
#include "gtkconfig.h"
|
|
||||||
#include "gstgtkbasesink.h"
|
#include "gstgtkbasesink.h"
|
||||||
#include "gstgtkutils.h"
|
#include "gstgtkutils.h"
|
||||||
|
|
||||||
@@ -154,10 +153,10 @@ gst_gtk_base_sink_class_init (GstGtkBaseSinkClass * klass)
|
|||||||
gstvideosink_class->show_frame = gst_gtk_base_sink_show_frame;
|
gstvideosink_class->show_frame = gst_gtk_base_sink_show_frame;
|
||||||
|
|
||||||
gstgtkbasesink_class->create_widget = gtk_gst_base_widget_new;
|
gstgtkbasesink_class->create_widget = gtk_gst_base_widget_new;
|
||||||
gstgtkbasesink_class->window_title = GTKCONFIG_NAME " GL Renderer";
|
gstgtkbasesink_class->window_title = "GTK4 GL Renderer";
|
||||||
|
|
||||||
gst_element_class_set_metadata (gstelement_class,
|
gst_element_class_set_metadata (gstelement_class,
|
||||||
GTKCONFIG_NAME " GL Video Sink",
|
"GTK4 GL Video Sink",
|
||||||
"Sink/Video", "A video sink that renders to a GtkWidget using OpenGL",
|
"Sink/Video", "A video sink that renders to a GtkWidget using OpenGL",
|
||||||
"Matthew Waters <matthew@centricular.com>, "
|
"Matthew Waters <matthew@centricular.com>, "
|
||||||
"Rafał Dzięgiel <rafostar.github@gmail.com>");
|
"Rafał Dzięgiel <rafostar.github@gmail.com>");
|
||||||
|
@@ -1,24 +0,0 @@
|
|||||||
/*
|
|
||||||
* GStreamer
|
|
||||||
* Copyright (C) 2020 Rafał Dzięgiel <rafostar.github@gmail.com>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define GTKCONFIG_PLUGIN gtk4
|
|
||||||
#define GTKCONFIG_NAME "GTK4"
|
|
||||||
#define GTKCONFIG_SINK "gtk4sink"
|
|
||||||
#define GTKCONFIG_GLSINK "gtk4glsink"
|
|
Reference in New Issue
Block a user