mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
remove empty method implementations.
This commit is contained in:
parent
9cd1fddf15
commit
ac0e11e55c
5 changed files with 0 additions and 193 deletions
|
@ -92,11 +92,6 @@ static void gst_mpeg2dec_init (GstMpeg2dec * mpeg2dec);
|
|||
static void gst_mpeg2dec_finalize (GObject * object);
|
||||
static void gst_mpeg2dec_reset (GstMpeg2dec * mpeg2dec);
|
||||
|
||||
static void gst_mpeg2dec_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec);
|
||||
static void gst_mpeg2dec_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec);
|
||||
|
||||
#ifndef GST_DISABLE_INDEX
|
||||
static void gst_mpeg2dec_set_index (GstElement * element, GstIndex * index);
|
||||
static GstIndex *gst_mpeg2dec_get_index (GstElement * element);
|
||||
|
@ -193,8 +188,6 @@ gst_mpeg2dec_class_init (GstMpeg2decClass * klass)
|
|||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->set_property = gst_mpeg2dec_set_property;
|
||||
gobject_class->get_property = gst_mpeg2dec_get_property;
|
||||
gobject_class->finalize = gst_mpeg2dec_finalize;
|
||||
|
||||
gstelement_class->change_state = gst_mpeg2dec_change_state;
|
||||
|
@ -1831,36 +1824,6 @@ init_failed:
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
gst_mpeg2dec_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GstMpeg2dec *src;
|
||||
|
||||
g_return_if_fail (GST_IS_MPEG2DEC (object));
|
||||
src = GST_MPEG2DEC (object);
|
||||
|
||||
switch (prop_id) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
gst_mpeg2dec_get_property (GObject * object, guint prop_id, GValue * value,
|
||||
GParamSpec * pspec)
|
||||
{
|
||||
GstMpeg2dec *mpeg2dec;
|
||||
|
||||
g_return_if_fail (GST_IS_MPEG2DEC (object));
|
||||
mpeg2dec = GST_MPEG2DEC (object);
|
||||
|
||||
switch (prop_id) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
|
|
|
@ -208,11 +208,6 @@ send_error:
|
|||
}
|
||||
}
|
||||
|
||||
static void gst_rtsp_wms_finalize (GObject * object);
|
||||
|
||||
static GstStateChangeReturn gst_rtsp_wms_change_state (GstElement * element,
|
||||
GstStateChange transition);
|
||||
|
||||
static void gst_rtsp_wms_extension_init (gpointer g_iface, gpointer iface_data);
|
||||
|
||||
static void
|
||||
|
@ -242,19 +237,6 @@ gst_rtsp_wms_base_init (gpointer klass)
|
|||
static void
|
||||
gst_rtsp_wms_class_init (GstRTSPWMSClass * g_class)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
GstRTSPWMSClass *klass;
|
||||
|
||||
klass = (GstRTSPWMSClass *) g_class;
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
gobject_class->finalize = gst_rtsp_wms_finalize;
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_rtsp_wms_change_state);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (rtspwms_debug, "rtspwms", 0, "WMS RTSP extension");
|
||||
}
|
||||
|
||||
|
@ -263,29 +245,6 @@ gst_rtsp_wms_init (GstRTSPWMS * rtspwms, GstRTSPWMSClass * klass)
|
|||
{
|
||||
}
|
||||
|
||||
static void
|
||||
gst_rtsp_wms_finalize (GObject * object)
|
||||
{
|
||||
GstRTSPWMS *rtspwms;
|
||||
|
||||
rtspwms = GST_RTSP_WMS (object);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static GstStateChangeReturn
|
||||
gst_rtsp_wms_change_state (GstElement * element, GstStateChange transition)
|
||||
{
|
||||
GstStateChangeReturn ret;
|
||||
GstRTSPWMS *rtspwms;
|
||||
|
||||
rtspwms = GST_RTSP_WMS (element);
|
||||
|
||||
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_rtsp_wms_extension_init (gpointer g_iface, gpointer iface_data)
|
||||
{
|
||||
|
|
|
@ -86,8 +86,6 @@ static void gst_pnm_src_set_property (GObject * object, guint prop_id,
|
|||
static void gst_pnm_src_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec);
|
||||
|
||||
static GstStateChangeReturn gst_pnm_src_change_state (GstElement *
|
||||
element, GstStateChange transition);
|
||||
|
||||
static void
|
||||
gst_pnm_src_base_init (gpointer klass)
|
||||
|
@ -107,11 +105,9 @@ static void
|
|||
gst_pnm_src_class_init (GstPNMSrcClass * klass)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
GstPushSrcClass *gstpushsrc_class;
|
||||
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
gstpushsrc_class = (GstPushSrcClass *) klass;
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
@ -126,8 +122,6 @@ gst_pnm_src_class_init (GstPNMSrcClass * klass)
|
|||
"Location of the PNM url to read",
|
||||
DEFAULT_LOCATION, G_PARAM_READWRITE));
|
||||
|
||||
gstelement_class->change_state = gst_pnm_src_change_state;
|
||||
|
||||
gstpushsrc_class->create = gst_pnm_src_create;
|
||||
}
|
||||
|
||||
|
@ -193,36 +187,6 @@ gst_pnm_src_get_property (GObject * object, guint prop_id,
|
|||
}
|
||||
}
|
||||
|
||||
static GstStateChangeReturn
|
||||
gst_pnm_src_change_state (GstElement * element, GstStateChange transition)
|
||||
{
|
||||
GstPNMSrc *src;
|
||||
GstStateChangeReturn ret;
|
||||
|
||||
src = GST_PNM_SRC (element);
|
||||
|
||||
switch (transition) {
|
||||
case GST_STATE_CHANGE_NULL_TO_READY:
|
||||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
|
||||
|
||||
switch (transition) {
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
gst_pnm_src_create (GstPushSrc * psrc, GstBuffer ** buf)
|
||||
{
|
||||
|
|
|
@ -75,11 +75,6 @@ GST_BOILERPLATE (GstRDTDepay, gst_rdt_depay, GstElement, GST_TYPE_ELEMENT);
|
|||
|
||||
static void gst_rdt_depay_finalize (GObject * object);
|
||||
|
||||
static void gst_rdt_depay_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec);
|
||||
static void gst_rdt_depay_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec);
|
||||
|
||||
static GstStateChangeReturn gst_rdt_depay_change_state (GstElement *
|
||||
element, GstStateChange transition);
|
||||
|
||||
|
@ -114,9 +109,6 @@ gst_rdt_depay_class_init (GstRDTDepayClass * klass)
|
|||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->set_property = gst_rdt_depay_set_property;
|
||||
gobject_class->get_property = gst_rdt_depay_get_property;
|
||||
|
||||
gobject_class->finalize = gst_rdt_depay_finalize;
|
||||
|
||||
gstelement_class->change_state = gst_rdt_depay_change_state;
|
||||
|
@ -466,36 +458,6 @@ gst_rdt_depay_chain (GstPad * pad, GstBuffer * buf)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_rdt_depay_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GstRDTDepay *rdtdepay;
|
||||
|
||||
rdtdepay = GST_RDT_DEPAY (object);
|
||||
|
||||
switch (prop_id) {
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
gst_rdt_depay_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GstRDTDepay *rdtdepay;
|
||||
|
||||
rdtdepay = GST_RDT_DEPAY (object);
|
||||
|
||||
switch (prop_id) {
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static GstStateChangeReturn
|
||||
gst_rdt_depay_change_state (GstElement * element, GstStateChange transition)
|
||||
{
|
||||
|
|
|
@ -665,11 +665,6 @@ reset:
|
|||
}
|
||||
}
|
||||
|
||||
static void gst_rtsp_real_finalize (GObject * object);
|
||||
|
||||
static GstStateChangeReturn gst_rtsp_real_change_state (GstElement * element,
|
||||
GstStateChange transition);
|
||||
|
||||
static void gst_rtsp_real_extension_init (gpointer g_iface,
|
||||
gpointer iface_data);
|
||||
|
||||
|
@ -700,19 +695,6 @@ gst_rtsp_real_base_init (gpointer klass)
|
|||
static void
|
||||
gst_rtsp_real_class_init (GstRTSPRealClass * g_class)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
GstRTSPRealClass *klass;
|
||||
|
||||
klass = (GstRTSPRealClass *) g_class;
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
gobject_class->finalize = gst_rtsp_real_finalize;
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_rtsp_real_change_state);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (rtspreal_debug, "rtspreal", 0,
|
||||
"RealMedia RTSP extension");
|
||||
}
|
||||
|
@ -723,29 +705,6 @@ gst_rtsp_real_init (GstRTSPReal * rtspreal, GstRTSPRealClass * klass)
|
|||
rtspreal->isreal = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_rtsp_real_finalize (GObject * object)
|
||||
{
|
||||
GstRTSPReal *rtspreal;
|
||||
|
||||
rtspreal = GST_RTSP_REAL (object);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static GstStateChangeReturn
|
||||
gst_rtsp_real_change_state (GstElement * element, GstStateChange transition)
|
||||
{
|
||||
GstStateChangeReturn ret;
|
||||
GstRTSPReal *rtspreal;
|
||||
|
||||
rtspreal = GST_RTSP_REAL (element);
|
||||
|
||||
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_rtsp_real_extension_init (gpointer g_iface, gpointer iface_data)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue