mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
flacparse: push tags in pre_push_frame
Push a tag event before pre-roll if we have tags. https://bugzilla.gnome.org/show_bug.cgi?id=762660
This commit is contained in:
parent
b3b47e2d99
commit
4065fcb80a
1 changed files with 6 additions and 0 deletions
|
@ -1714,6 +1714,12 @@ gst_flac_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
flacparse->sent_codec_tag = TRUE;
|
||||
}
|
||||
|
||||
/* Push tags */
|
||||
if (flacparse->tags) {
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (flacparse),
|
||||
gst_event_new_tag (flacparse->tags));
|
||||
flacparse->tags = NULL;
|
||||
}
|
||||
/* Push toc */
|
||||
if (flacparse->toc) {
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (flacparse),
|
||||
|
|
Loading…
Reference in a new issue