Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Desmottes
gst-plugins-good
Commits
fd560bcb
Commit
fd560bcb
authored
Nov 13, 2018
by
Mathieu Duponchelle
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpfunnel: Stop using G_DECLARE_FINAL_TYPE
Fixes
#516
parent
c9ed35f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
gst/rtpmanager/gstrtpfunnel.c
gst/rtpmanager/gstrtpfunnel.c
+10
-0
gst/rtpmanager/gstrtpfunnel.h
gst/rtpmanager/gstrtpfunnel.h
+10
-2
No files found.
gst/rtpmanager/gstrtpfunnel.c
View file @
fd560bcb
...
...
@@ -29,6 +29,11 @@
GST_DEBUG_CATEGORY_STATIC
(
gst_rtp_funnel_debug
);
#define GST_CAT_DEFAULT gst_rtp_funnel_debug
struct
_GstRtpFunnelPadClass
{
GstPadClass
class
;
};
struct
_GstRtpFunnelPad
{
GstPad
pad
;
...
...
@@ -57,6 +62,11 @@ gst_rtp_funnel_pad_init (GstRtpFunnelPad * pad)
(
void
)
pad
;
}
struct
_GstRtpFunnelClass
{
GstElementClass
class
;
};
struct
_GstRtpFunnel
{
GstElement
element
;
...
...
gst/rtpmanager/gstrtpfunnel.h
View file @
fd560bcb
...
...
@@ -27,14 +27,22 @@
G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE
(
GstRtpFunnel
,
gst_rtp_funnel
,
GST
,
RTP_FUNNEL
,
GstElement
)
typedef
struct
_GstRtpFunnelClass
GstRtpFunnelClass
;
typedef
struct
_GstRtpFunnel
GstRtpFunnel
;
#define GST_TYPE_RTP_FUNNEL (gst_rtp_funnel_get_type())
#define GST_RTP_FUNNEL_CAST(obj) ((GstRtpFunnel *)(obj))
G_DECLARE_FINAL_TYPE
(
GstRtpFunnelPad
,
gst_rtp_funnel_pad
,
GST
,
RTP_FUNNEL_PAD
,
GstPad
)
GType
gst_rtp_funnel_get_type
(
void
);
typedef
struct
_GstRtpFunnelPadClass
GstRtpFunnelPadClass
;
typedef
struct
_GstRtpFunnelPad
GstRtpFunnelPad
;
#define GST_TYPE_RTP_FUNNEL_PAD (gst_rtp_funnel_pad_get_type())
#define GST_RTP_FUNNEL_PAD_CAST(obj) ((GstRtpFunnelPad *)(obj))
GType
gst_rtp_funnel_pad_get_type
(
void
);
G_END_DECLS
#endif
/* __GST_RTP_FUNNEL_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment