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
Yeongjin Jeong
gst-plugins-bad
Commits
1e3a3aed
Commit
1e3a3aed
authored
May 25, 2017
by
Edward Hervey
🤘
Committed by
Sebastian Dröge
May 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adaptivedemux: Don't create invalid event
tags could potentially be NULL
parent
f0185f4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gst-libs/gst/adaptivedemux/gstadaptivedemux.c
gst-libs/gst/adaptivedemux/gstadaptivedemux.c
+2
-1
No files found.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c
View file @
1e3a3aed
...
...
@@ -2274,7 +2274,8 @@ gst_adaptive_demux_stream_push_buffer (GstAdaptiveDemuxStream * stream,
gst_tag_list_add
(
tags
,
GST_TAG_MERGE_KEEP
,
GST_TAG_NOMINAL_BITRATE
,
stream
->
fragment
.
bitrate
,
NULL
);
}
pending_tags
=
gst_event_new_tag
(
tags
);
if
(
tags
)
pending_tags
=
gst_event_new_tag
(
tags
);
}
if
(
G_UNLIKELY
(
stream
->
pending_events
))
{
pending_events
=
stream
->
pending_events
;
...
...
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