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
@ -1508,6 +1508,7 @@ gst_flv_mux_write_header (GstFlvMux * mux)
|
|||||||
ret = gst_flv_mux_push (mux, metadata);
|
ret = gst_flv_mux_push (mux, metadata);
|
||||||
if (ret != GST_FLOW_OK)
|
if (ret != GST_FLOW_OK)
|
||||||
goto failure_metadata;
|
goto failure_metadata;
|
||||||
|
mux->new_tags = FALSE;
|
||||||
}
|
}
|
||||||
if (video_codec_data != NULL) {
|
if (video_codec_data != NULL) {
|
||||||
ret = gst_flv_mux_push (mux, video_codec_data);
|
ret = gst_flv_mux_push (mux, video_codec_data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user