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
405
Issues
405
List
Boards
Labels
Service Desk
Milestones
Merge Requests
79
Merge Requests
79
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gstreamer
Commits
2c6dd702
Commit
2c6dd702
authored
Oct 14, 2016
by
Thibault Saunier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stats: Fix warning
parent
2be7e475
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
plugins/tracers/gststats.c
plugins/tracers/gststats.c
+2
-1
No files found.
plugins/tracers/gststats.c
View file @
2c6dd702
...
...
@@ -459,7 +459,8 @@ do_post_message_pre (GstStatsTracer * self, guint64 ts, GstElement * elem,
{
GstElementStats
*
stats
=
get_element_stats
(
self
,
elem
);
const
GstStructure
*
msg_s
=
gst_message_get_structure
(
msg
);
GstStructure
*
s
=
msg_s
?
msg_s
:
gst_structure_new_empty
(
"dummy"
);
GstStructure
*
s
=
msg_s
?
(
GstStructure
*
)
msg_s
:
gst_structure_new_empty
(
"dummy"
);
stats
->
last_ts
=
ts
;
/* FIXME: work out whether using NULL instead of a dummy struct would work */
...
...
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