flvdemux: un-break duration querying
flvdemux: un-break duration querying

Commit 2b9493b5 broke this in two ways: a) we should only
pass duration queries in TIME format upstream (or at least
not those in DEFAULT or BYTE format), and b) we mustn't
overwrite the default value of 'res' from TRUE to FALSE
and not set it again later. This led to bogus durations
being reported for FLV playback from file, because TIME
queries would fail (as 'res' had been set to FALSE) and
parsers then do a BYTE query as fallback and try to
guesstimate something in return, which of course goes
horribly wrong since the BYTE size returned is for the
muxed file.

chamois94/gst-plugins-good,BigBrother-International/gst-plugins-good,rawoul/gst-plugins-good,BigBrother-International/gst-plugins-good,StreamUtils/gst-plugins-good,hizukiayaka/gst-plugins-good,StreamUtils/gst-plugins-good,vatavuserban/gst-plugins-good,Kurento/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,shelsonjava/gst-plugins-good,hizukiayaka/gst-plugins-good,GrokImageCompression/gst-plugins-good,GStreamer/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,pexip/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,ikonst/gst-plugins-good,stfl/gst-plugins-good,froggatt/gst-plugins-good-m,greg80303/gst-plugins-good,pexip/gst-plugins-good,sh0/gst-plugins-good,ikonst/gst-plugins-good,shelsonjava/gst-plugins-good,stfl/gst-plugins-good,sebras/gst-plugins-good,froggatt/gst-plugins-good-m,GrokImageCompression/gst-plugins-good,greg80303/gst-plugins-good,GrokImageCompression/gst-plugins-good,veo-labs/gst-plugins-good,kittee/gst-plugins-good,kittee/gst-plugins-good,veo-labs/gst-plugins-good,froggatt/gst-plugins-good-m,stfl/gst-plugins-good,veo-labs/gst-plugins-good,jcaden/gst-plugins-good,chamois94/gst-plugins-good,vatavuserban/gst-plugins-good,StreamUtils/gst-plugins-good,ikonst/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,loshca/gst-plugins-good,loshca/gst-plugins-good,sebras/gst-plugins-good,jcaden/gst-plugins-good,chamois94/gst-plugins-good,rawoul/gst-plugins-good,froggatt/gst-plugins-good-m,GrokImageCompression/gst-plugins-good,pexip/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,StreamUtils/gst-plugins-good,sh0/gst-plugins-good,jcaden/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,rawoul/gst-plugins-good,BigBrother-International/gst-plugins-good,greg80303/gst-plugins-good,rawoul/gst-plugins-good,Kurento/gst-plugins-good,loshca/gst-plugins-good,sebras/gst-plugins-good,vatavuserban/gst-plugins-good,BigBrother-International/gst-plugins-good,GStreamer/gst-plugins-good,GStreamer/gst-plugins-good,pexip/gst-plugins-good,hizukiayaka/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,greg80303/gst-plugins-good,pexip/gst-plugins-good,Kurento/gst-plugins-good,sh0/gst-plugins-good,jcaden/gst-plugins-good,hizukiayaka/gst-plugins-good,GStreamer/gst-plugins-good,sebras/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,loshca/gst-plugins-good,Kurento/gst-plugins-good,vatavuserban/gst-plugins-good,veo-labs/gst-plugins-good,Kurento/gst-plugins-good,shelsonjava/gst-plugins-good,chamois94/gst-plugins-good,kittee/gst-plugins-good,stfl/gst-plugins-good,shelsonjava/gst-plugins-good,kittee/gst-plugins-good,sh0/gst-plugins-good,ikonst/gst-plugins-good