Commit 4065fcb8 authored by Luis de Bethencourt's avatar Luis de Bethencourt
Browse files

flacparse: push tags in pre_push_frame

Push a tag event before pre-roll if we have tags.
parent b3b47e2d
......@@ -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),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment