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
This commit is contained in:
Jan Alexander Steffens (heftig) 2019-12-03 13:46:09 +01:00
parent a7c887b197
commit 6fdb6ece6e
No known key found for this signature in database
GPG key ID: DE5E0C5F25941CA5

View file

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