Sink: remove gtkconfig header

Remove another leftover meant for GTK3 compatibility
This commit is contained in:
Rafał Dzięgiel
2021-03-05 23:27:08 +01:00
parent 13d675beff
commit e3c9b112e2
2 changed files with 2 additions and 27 deletions

View File

@@ -31,7 +31,6 @@
#include <gst/gl/gstglfuncs.h>
#include "gtkconfig.h"
#include "gstgtkbasesink.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;
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,
GTKCONFIG_NAME " GL Video Sink",
"GTK4 GL Video Sink",
"Sink/Video", "A video sink that renders to a GtkWidget using OpenGL",
"Matthew Waters <matthew@centricular.com>, "
"Rafał Dzięgiel <rafostar.github@gmail.com>");

View File

@@ -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"