Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastian Dröge
gst-plugins-base
Commits
2de91c32
Commit
2de91c32
authored
Aug 18, 2015
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audioencoder: If there are no tags, don't try to do event handling on a NULL event
Fixes some crashes.
parent
cca823b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstaudioencoder.c
+6
-0
No files found.
gst-libs/gst/audio/gstaudioencoder.c
View file @
2de91c32
...
...
@@ -1641,6 +1641,12 @@ gst_audio_encoder_sink_event_default (GstAudioEncoder * enc, GstEvent * event)
gst_event_unref
(
event
);
event
=
gst_audio_encoder_create_merged_tags_event
(
enc
);
GST_AUDIO_ENCODER_STREAM_UNLOCK
(
enc
);
/* No tags, go out of here instead of fall through */
if
(
!
event
)
{
res
=
TRUE
;
break
;
}
}
/* fall through */
}
...
...
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