chiark / gitweb /
server/gstdecode.c: Unref reference-counted things properly.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 10 Jul 2018 10:22:35 +0000 (11:22 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 10 Jul 2018 10:22:35 +0000 (11:22 +0100)
commit3d9c9d5411dbc95c7998248e65b3a1b460580695
tree4195fc8649422dadd23798697207e9e3d6ad8357
parent6c9b376afe7ded3413c7c400da4b28428fd91a6a
server/gstdecode.c: Unref reference-counted things properly.

Use the correct functions, which really are available in both versions,
so we can eliminate some ifdeffery.

Also restructure `decoder_pad_arrived' to not leak the new pad's caps.
server/gstdecode.c