mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
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:
parent
f49d610ebe
commit
152b002658
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue