flvmux: Clear new_tags if sending metadata in header

This avoids sending an additional metadata object right after the
headers.
This commit is contained in:
Jan Alexander Steffens (heftig) 2019-06-24 17:35:15 +02:00
parent f49d610ebe
commit 152b002658
No known key found for this signature in database
GPG key ID: DE5E0C5F25941CA5

View file

@ -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);