asfdemux: scan last packet to determine duration for files saved from broadcasts

ASF files that were saved from broadcast may not have a duration, and
most certainly not a seek table, so try to scan the last packet and
determine an approximate duration based on the send time of the first
and last packet. Seeking still needs fixing though.

gstreamer/gst-plugins-ugly#4
15 jobs for asfdemux-scan-duration in 28 minutes and 15 seconds (queued for 12 minutes and 3 seconds)
latest
Status Job ID Name Coverage
  Preparation
passed #318032
gst indent

00:00:20

passed #318031
manifest

00:00:44

 
  Build
passed #318033
build fedora x86_64

00:05:31

passed #318034
build nodebug fedora x86_64

00:05:33

 
  Test
failed #318146
check fedora

00:05:45

passed #318139
integration testsuites fedora

00:10:20

failed #318035
check fedora

00:04:04

failed #318036
integration testsuites fedora

00:12:13

 
  Full Builds
skipped #318038
build cerbero android universal
skipped #318039
build cerbero cross win32
skipped #318040
build cerbero cross win64
skipped #318037
build cerbero fedora x86_64
 
  Full Tests
skipped #318041
valgrind ugly
 
  Apps
skipped #318042
android universal examples
 
  Deploy
skipped #318043
documentation
 
Name Stage Failure
failed
check fedora Test
           Total: 3004
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 3416 matching files

Uploading artifacts to coordinator... ok
id=318146 responseStatus=201 Created token=6Eb6DsUa
Uploading artifacts...
validate-logs/*.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=318146 responseStatus=201 Created token=6Eb6DsUa
ERROR: Job failed: exit code 1