mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
oss4: Fix debug category initialization
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1456 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3577>
This commit is contained in:
parent
989e8307b5
commit
d729dbb717
2 changed files with 4 additions and 4 deletions
|
@ -104,8 +104,8 @@ enum
|
||||||
#define gst_oss4_sink_parent_class parent_class
|
#define gst_oss4_sink_parent_class parent_class
|
||||||
G_DEFINE_TYPE_WITH_CODE (GstOss4Sink, gst_oss4_sink,
|
G_DEFINE_TYPE_WITH_CODE (GstOss4Sink, gst_oss4_sink,
|
||||||
GST_TYPE_AUDIO_SINK, G_IMPLEMENT_INTERFACE (GST_TYPE_STREAM_VOLUME, NULL));
|
GST_TYPE_AUDIO_SINK, G_IMPLEMENT_INTERFACE (GST_TYPE_STREAM_VOLUME, NULL));
|
||||||
GST_ELEMENT_REGISTER_DEFINE (oss4sink, "oss4sink", GST_RANK_SECONDARY + 1,
|
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (oss4sink, "oss4sink",
|
||||||
GST_TYPE_OSS4_SINK);
|
GST_RANK_SECONDARY + 1, GST_TYPE_OSS4_SINK, oss4_element_init (plugin));
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_oss4_sink_dispose (GObject * object)
|
gst_oss4_sink_dispose (GObject * object)
|
||||||
|
|
|
@ -73,8 +73,8 @@ enum
|
||||||
|
|
||||||
#define gst_oss4_source_parent_class parent_class
|
#define gst_oss4_source_parent_class parent_class
|
||||||
G_DEFINE_TYPE (GstOss4Source, gst_oss4_source, GST_TYPE_AUDIO_SRC);
|
G_DEFINE_TYPE (GstOss4Source, gst_oss4_source, GST_TYPE_AUDIO_SRC);
|
||||||
GST_ELEMENT_REGISTER_DEFINE (oss4src, "oss4src", GST_RANK_SECONDARY + 1,
|
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (oss4src, "oss4src",
|
||||||
GST_TYPE_OSS4_SOURCE);
|
GST_RANK_SECONDARY + 1, GST_TYPE_OSS4_SOURCE, oss4_element_init (plugin));
|
||||||
|
|
||||||
static void gst_oss4_source_get_property (GObject * object, guint prop_id,
|
static void gst_oss4_source_get_property (GObject * object, guint prop_id,
|
||||||
GValue * value, GParamSpec * pspec);
|
GValue * value, GParamSpec * pspec);
|
||||||
|
|
Loading…
Reference in a new issue