diff --git a/docs/gst_plugins_cache.json b/docs/gst_plugins_cache.json index e7909cab3e..14c5682164 100644 --- a/docs/gst_plugins_cache.json +++ b/docs/gst_plugins_cache.json @@ -23612,6 +23612,99 @@ "filename": "gstvideo4linux2", "license": "LGPL", "other-types": { + "GstTuner": { + "hierarchy": [ + "GstTuner", + "GInterface" + ], + "kind": "interface", + "signals": { + "channel-changed": { + "args": [ + { + "name": "arg0", + "type": "GstTunerChannel" + } + ], + "return-type": "void", + "when": "last" + }, + "frequency-changed": { + "args": [ + { + "name": "arg0", + "type": "GstTunerChannel" + }, + { + "name": "arg1", + "type": "gulong" + } + ], + "return-type": "void", + "when": "last" + }, + "norm-changed": { + "args": [ + { + "name": "arg0", + "type": "GstTunerNorm" + } + ], + "return-type": "void", + "when": "last" + }, + "signal-changed": { + "args": [ + { + "name": "arg0", + "type": "GstTunerChannel" + }, + { + "name": "arg1", + "type": "gint" + } + ], + "return-type": "void", + "when": "last" + } + } + }, + "GstTunerChannel": { + "hierarchy": [ + "GstTunerChannel", + "GObject" + ], + "kind": "object", + "signals": { + "frequency-changed": { + "args": [ + { + "name": "arg0", + "type": "gulong" + } + ], + "return-type": "void", + "when": "last" + }, + "signal-changed": { + "args": [ + { + "name": "arg0", + "type": "gint" + } + ], + "return-type": "void", + "when": "last" + } + } + }, + "GstTunerNorm": { + "hierarchy": [ + "GstTunerNorm", + "GObject" + ], + "kind": "object" + }, "GstV4l2DeviceTypeFlags": { "kind": "flags", "values": [ diff --git a/sys/v4l2/tuner.c b/sys/v4l2/tuner.c index 37655eaef2..b4c68d7d67 100644 --- a/sys/v4l2/tuner.c +++ b/sys/v4l2/tuner.c @@ -128,8 +128,6 @@ gst_tuner_default_init (GstTunerInterface * iface) * @signal: The new signal strength (an integer) * * Reports that the signal strength has changed. - * - * See Also: gst_tuner_signal_strength() */ gst_tuner_signals[SIGNAL_CHANGED] = g_signal_new ("signal-changed", @@ -137,6 +135,10 @@ gst_tuner_default_init (GstTunerInterface * iface) G_STRUCT_OFFSET (GstTunerInterface, signal_changed), NULL, NULL, NULL, G_TYPE_NONE, 2, GST_TYPE_TUNER_CHANNEL, G_TYPE_INT); + gst_type_mark_as_plugin_api (GST_TYPE_TUNER, 0); + gst_type_mark_as_plugin_api (GST_TYPE_TUNER_CHANNEL, 0); + gst_type_mark_as_plugin_api (GST_TYPE_TUNER_NORM, 0); + initialized = TRUE; } diff --git a/sys/v4l2/tunerchannel.c b/sys/v4l2/tunerchannel.c index 25fa33a551..bdeeec263e 100644 --- a/sys/v4l2/tunerchannel.c +++ b/sys/v4l2/tunerchannel.c @@ -77,8 +77,6 @@ gst_tuner_channel_class_init (GstTunerChannelClass * klass) * @signal: The new signal strength (an integer) * * Reports that the signal strength has changed. - * - * See Also: gst_tuner_signal_strength() */ signals[SIGNAL_SIGNAL_CHANGED] = g_signal_new ("signal-changed", G_TYPE_FROM_CLASS (klass),