Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
135cad5b
Commit
135cad5b
authored
Aug 16, 2015
by
Tim-Philipp Müller
Browse files
audiodecoder: try harder to avoid sending unnecessary tag updates
parent
30b7cc66
Changes
1
Hide whitespace changes
Inline
Side-by-side
gst-libs/gst/audio/gstaudiodecoder.c
View file @
135cad5b
...
...
@@ -2202,8 +2202,8 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
if
(
dec
->
priv
->
upstream_tags
)
{
gst_tag_list_unref
(
dec
->
priv
->
upstream_tags
);
dec
->
priv
->
upstream_tags
=
NULL
;
dec
->
priv
->
taglist_changed
=
TRUE
;
}
dec
->
priv
->
taglist_changed
=
TRUE
;
GST_AUDIO_DECODER_STREAM_UNLOCK
(
dec
);
ret
=
gst_audio_decoder_push_event
(
dec
,
event
);
...
...
@@ -2341,6 +2341,7 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
}
gst_event_unref
(
event
);
event
=
gst_audio_decoder_create_merged_tags_event
(
dec
);
dec
->
priv
->
taglist_changed
=
FALSE
;
GST_AUDIO_DECODER_STREAM_UNLOCK
(
dec
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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