From 6fdb6ece6e97b9f47fb737ec68943bfed2f3df90 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Tue, 3 Dec 2019 13:46:09 +0100 Subject: [PATCH] flvmux: Don't calculate duration in streamable mode There's no header to rewrite, so the duration is left unused. https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/merge_requests/418 --- gst/flv/gstflvmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 00307c681b..4cfa97b2bd 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c @@ -935,7 +935,7 @@ tags: if (!full) goto end; - if (mux->duration == GST_CLOCK_TIME_NONE) { + if (!mux->streamable && mux->duration == GST_CLOCK_TIME_NONE) { GList *l; guint64 dur;