flvmux: don't overwrite metadata tag with duration in streaming mode
authorTom Janiszewski <tom.janiszewski@alcatel-lucent.com>
Sun, 1 May 2011 04:04:03 +0000 (00:04 -0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 1 May 2011 13:13:50 +0000 (14:13 +0100)
commitb9c2f8b38f2e35185a0178d2e223e9f75ca6c7a5
tree407ea5bd2d1501e6a5575c16e7511de18a51c36c
parenta5aea758081598ef24e3309ec8866e9ddaac054e
flvmux: don't overwrite metadata tag with duration in streaming mode

A duration tag gets inserted only for streamable=false, so only
update/write the duration later if we actually inserted that tag,
otherwise we write garbage into other tags.

https://bugzilla.gnome.org/show_bug.cgi?id=649060
gst/flv/gstflvmux.c