/* Oh! Multicast Video Scanner Copyright (C) 2016 Taeho Oh This file is part of Oh! Multicast Video Scanner. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #ifndef _OMVS_GST_PLUGIN_RTPSRC_H_ #define _OMVS_GST_PLUGIN_RTPSRC_H_ #include #define GST_TYPE_OMVS_RTPSRC (gst_omvs_rtpsrc_get_type()) #define GST_OMVS_RTPSRC(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_OMVS_RTPSRC, GstOMVSRtpSrc)) #define GST_OMVS_RTPSRC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_OMVS_RTPSRC, GstOMVSRtpSrcClass)) #define GST_IS_OMVS_RTPSRC(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_OMVS_RTPSRC)) #define GST_IS_OMVS_RTPSRC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_OMVS_RTPSRC)) #define GST_OMVS_RTPSRC_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_OMVS_RTPSRC, GstOMVSRtpSrcClass)) typedef struct _GstOMVSRtpSrcClass GstOMVSRtpSrcClass; typedef struct _GstOMVSRtpSrc GstOMVSRtpSrc; struct _GstOMVSRtpSrcClass { GstBinClass parent_class; }; struct _GstOMVSRtpSrc { GstBin parent_instance; gchar *uri; GstElement *udpsrc; GstElement *rtpbin; GstPad *ghostpad; gint n_pads; }; extern GType gst_omvs_rtpsrc_get_type(void); extern gboolean omvs_gst_plugin_rtpsrc_init(GstPlugin *plugin); #endif /* _OMVS_GST_PLUGIN_RTPSRC_H_ */