asfdemux: Deactivate pad before removing it from the element

Otherwise we might have a pad floating around that is still activated,
or even finalize a pad that is still activated.
22 jobs for deactivate-before-remove in 3 minutes and 24 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Preparation
passed #1219390
gst indent

00:00:34

passed #1219389
manifest

00:00:41

 
  Build
canceled #1219400
gstreamer
build cerbero cross-android universal

00:02:36

canceled #1219404
gst-ios-13.2
build cerbero cross-ios universal

00:02:30

canceled #1219401
gstreamer
build cerbero cross win32

00:02:36

failed #1219402
gstreamer
build cerbero cross win64

00:02:31

canceled #1219399
gstreamer
build cerbero fedora x86_64

00:02:37

canceled #1219403
gst-macos-10.15
build cerbero macos x86_64

00:02:31

canceled #1219395
build clang fedora x86_64

00:02:39

canceled #1219391
build fedora x86_64

00:02:41

canceled #1219398
docker windows 1809
build msys2

00:02:38

failed #1219392
build nodebug fedora x86_64

00:02:29

canceled #1219393
build static fedora x86_64

00:02:40

failed #1219394
build static nodebug fedora x86_64

00:01:29

canceled #1219396
docker windows 1809
build vs2017 amd64

00:02:38

canceled #1219397
docker windows 1809
build vs2017 x86

00:02:38

 
  Test
canceled #1219405
gstreamer
check fedora

canceled #1219406
gstreamer
integration testsuites fedora

canceled #1219407
gstreamer
valgrind ugly

 
  Integrate
canceled #1219408
cross-android universal examples

canceled #1219410
gst-ios-13.2
cross-ios universal examples

canceled #1219409
documentation

 
Name Stage Failure
failed
build cerbero cross win64 Build
0:01:13.424686 Recipe 'gst-plugins-base-1.0' failed at the build step 'compile'
Fatal Error: Running ['sh', '-c', 'ninja -v -d keeprsp'], returncode 1

Uploading artifacts...
manifest.xml: found 1 matching files
cerbero-build/logs: found 36 matching files

WARNING: *.tar.bz2: no matching files
Uploading artifacts to coordinator... ok
id=1219402 responseStatus=201 Created token=2vhTxHgm
ERROR: Job failed: exit code 1
failed
build nodebug fedora x86_64 Build
[2327/4488] Compiling C object 'subprojects/gst-plugins-good/gst/flv/3827cd3@@gstflv@sha/gstflvdemux.c.o'.
[2328/4488] Compiling C object 'subprojects/gst-plugins-base/gst/typefind/8e000d7@@gsttypefindfunctions@sha/gsttypefindfunctions.c.o'.
ninja: build stopped: subcommand failed.
Running after script...
$ cd gst-build/
$ test -d build && find build -name '*.[ao]' -delete
$ rm -rf subprojects/*/.git/
$ rm -rf build/subprojects/*/.git/
ERROR: Job failed: exit code 1
failed
build static nodebug fedora x86_64 Build
[972/4094] Compiling C object 'subprojects/gst-plugins-good/tests/icles/106f9b4@@gdkpixbufsink-test@exe/gdkpixbufsink-test.c.o'.
[973/4094] Compiling C object 'subprojects/gst-plugins-base/gst/typefind/8e000d7@@gsttypefindfunctions@sta/gsttypefindfunctions.c.o'.
ninja: build stopped: subcommand failed.
Running after script...
$ cd gst-build/
$ test -d build && find build -name '*.[ao]' -delete
$ rm -rf subprojects/*/.git/
$ rm -rf build/subprojects/*/.git/
ERROR: Job failed: exit code 1