Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luzpaz
gstreamer
Commits
98da78ed
Commit
98da78ed
authored
Aug 06, 2010
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugins: Add declarations for _get_type() functions to fix compiler warnings
parent
cfefcc71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
plugins/elements/gstfilesrc.c
plugins/elements/gstfilesrc.c
+2
-0
plugins/indexers/gstfileindex.c
plugins/indexers/gstfileindex.c
+2
-0
plugins/indexers/gstmemindex.c
plugins/indexers/gstmemindex.c
+3
-5
No files found.
plugins/elements/gstfilesrc.c
View file @
98da78ed
...
...
@@ -488,6 +488,8 @@ struct _GstMmapBufferClass
static
void
gst_mmap_buffer_finalize
(
GstMmapBuffer
*
mmap_buffer
);
GType
gst_mmap_buffer_get_type
(
void
);
G_DEFINE_TYPE
(
GstMmapBuffer
,
gst_mmap_buffer
,
GST_TYPE_BUFFER
);
static
void
...
...
plugins/indexers/gstfileindex.c
View file @
98da78ed
...
...
@@ -146,6 +146,8 @@ static GstIndexEntry *gst_file_index_get_assoc_entry (GstIndex * index, gint id,
#define CLASS(file_index) GST_FILE_INDEX_CLASS (G_OBJECT_GET_CLASS (file_index))
GType
gst_file_index_get_type
(
void
);
G_DEFINE_TYPE
(
GstFileIndex
,
gst_file_index
,
GST_TYPE_INDEX
);
static
void
...
...
plugins/indexers/gstmemindex.c
View file @
98da78ed
...
...
@@ -116,10 +116,10 @@ static GstIndexEntry *gst_mem_index_get_assoc_entry (GstIndex * index, gint id,
#define CLASS(mem_index) GST_MEM_INDEX_CLASS (G_OBJECT_GET_CLASS (mem_index))
static
GstIndex
*
parent_class
=
NULL
;
/*static guint gst_mem_index_signals[LAST_SIGNAL] = { 0 }; */
GType
gst_mem_index_get_type
(
void
);
G_DEFINE_TYPE
(
GstMemIndex
,
gst_mem_index
,
GST_TYPE_INDEX
);
static
void
...
...
@@ -131,8 +131,6 @@ gst_mem_index_class_init (GstMemIndexClass * klass)
gobject_class
=
(
GObjectClass
*
)
klass
;
gstindex_class
=
(
GstIndexClass
*
)
klass
;
parent_class
=
g_type_class_peek_parent
(
klass
);
gobject_class
->
finalize
=
gst_mem_index_finalize
;
gstindex_class
->
add_entry
=
GST_DEBUG_FUNCPTR
(
gst_mem_index_add_entry
);
...
...
@@ -195,7 +193,7 @@ gst_mem_index_finalize (GObject * object)
memindex
->
associations
=
NULL
;
}
G_OBJECT_CLASS
(
parent_class
)
->
finalize
(
object
);
G_OBJECT_CLASS
(
gst_mem_index_
parent_class
)
->
finalize
(
object
);
}
static
void
...
...
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