element: Deactivate pads when removing them from elements

This is symmetrict with gst_element_add_pad(), which is nowadays also
activating pads when they're added to elements in the PAUSED/PLAYING
state.

Nonetheless it's safer and recommended to deactivate pads separately to
ensure that it happens at the right time in case the element needs the
streaming thread to be shut down already before the pad is being
removed.
27 jobs for deactivate-pad-on-remove in 149 minutes and 49 seconds (queued for 115 minutes and 31 seconds)
latest
Status Job ID Name Coverage
  Preparation
passed #813241
gst indent

00:00:40

passed #813240
manifest

00:00:41

 
  Build
passed #813251
build cerbero cross-android universal

00:16:36

manual #813255
gst-ios-12.2 allowed to fail manual
build cerbero cross-ios universal
passed #813252
build cerbero cross win32

00:06:30

passed #813253
build cerbero cross win64

00:06:04

passed #813250
build cerbero fedora x86_64

00:06:46

passed #813254
gst-macos-10.14
build cerbero macos x86_64

00:07:47

passed #813246
build clang fedora x86_64

00:08:29

passed #813242
build fedora x86_64

00:05:56

passed #813249
docker windows 1607
build msys2

00:11:59

passed #813243
build nodebug fedora x86_64

00:03:10

passed #813244
build static fedora x86_64

00:11:35

passed #813245
build static nodebug fedora x86_64

00:05:27

passed #813247
docker windows 1607
build vs2017 amd64

00:10:32

passed #813248
docker windows 1607
build vs2017 x86

00:10:52

 
  Test
failed #813256
check fedora

00:06:41

failed #813257
integration testsuites fedora

01:51:20

failed #813262
valgrind bad

00:15:43

failed #813259
valgrind base

01:04:51

failed #813258
valgrind core

01:13:51

passed #813263
valgrind ges

00:07:30

failed #813260
valgrind good

00:08:26

passed #813261
valgrind ugly

00:02:18

 
  Integrate
passed #813264
cross-android universal examples

00:04:48

skipped #813266
gst-ios-12.2 allowed to fail manual
cross-ios universal examples
passed #813265
documentation

00:04:19

 
Name Stage Failure
failed
integration testsuites fedora Test
           Total: 1447
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 70131 matching files

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

Uploading artifacts to coordinator... ok
id=813257 responseStatus=201 Created token=Vs7tbCsj
ERROR: Job failed: exit code 1
failed
valgrind bad Test
           Total: 398
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 809 matching files

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

Uploading artifacts to coordinator... ok
id=813262 responseStatus=201 Created token=yLTxZmE9
ERROR: Job failed: exit code 1
failed
valgrind good Test
           Total: 690
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 1478 matching files

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

Uploading artifacts to coordinator... ok
id=813260 responseStatus=201 Created token=fNN3WxE_
ERROR: Job failed: exit code 1
failed
valgrind core Test
KeyboardInterrupt
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 1811 matching files

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

Uploading artifacts to coordinator... ok
id=813258 responseStatus=201 Created token=RP2B1zqq
ERROR: Job failed: exit code 1
failed
valgrind base Test
KeyboardInterrupt
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 1322 matching files

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

Uploading artifacts to coordinator... ok
id=813259 responseStatus=201 Created token=cLKH53zc
ERROR: Job failed: exit code 1
failed
check fedora Test
           Total: 3151
Uploading artifacts...
gst-build/build/meson-logs/: found 2 matching files
validate-logs: found 3570 matching files

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

Uploading artifacts to coordinator... ok
id=813256 responseStatus=201 Created token=h3tHP9_K
ERROR: Job failed: exit code 1