Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
fe192fe3
Commit
fe192fe3
authored
Jun 26, 2014
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
message: Application and element messages should not have NULL structures
It does not make sense for them.
parent
4088363a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gst/gstmessage.c
gst/gstmessage.c
+4
-0
No files found.
gst/gstmessage.c
View file @
fe192fe3
...
...
@@ -779,6 +779,8 @@ gst_message_new_segment_done (GstObject * src, GstFormat format,
GstMessage
*
gst_message_new_application
(
GstObject
*
src
,
GstStructure
*
structure
)
{
g_return_val_if_fail
(
structure
!=
NULL
,
NULL
);
return
gst_message_new_custom
(
GST_MESSAGE_APPLICATION
,
src
,
structure
);
}
...
...
@@ -800,6 +802,8 @@ gst_message_new_application (GstObject * src, GstStructure * structure)
GstMessage
*
gst_message_new_element
(
GstObject
*
src
,
GstStructure
*
structure
)
{
g_return_val_if_fail
(
structure
!=
NULL
,
NULL
);
return
gst_message_new_custom
(
GST_MESSAGE_ELEMENT
,
src
,
structure
);
}
...
...
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