From 152b0026587c8fe84f4ad07eb4960b5409595a6a Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Mon, 24 Jun 2019 17:35:15 +0200 Subject: [PATCH] flvmux: Clear new_tags if sending metadata in header This avoids sending an additional metadata object right after the headers. --- gst/flv/gstflvmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index f416facb8f..4053f8a742 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c @@ -1508,6 +1508,7 @@ gst_flv_mux_write_header (GstFlvMux * mux) ret = gst_flv_mux_push (mux, metadata); if (ret != GST_FLOW_OK) goto failure_metadata; + mux->new_tags = FALSE; } if (video_codec_data != NULL) { ret = gst_flv_mux_push (mux, video_codec_data);