chiark / gitweb /
server/gstdecode.c: Dissect the message more portably.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 10 Jul 2018 10:25:29 +0000 (11:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 10 Jul 2018 10:25:29 +0000 (11:25 +0100)
commit0b47d5168900dcf3ba40d7abc7942cd8049818d7
treea89d1a9661f18228ff452f2e5e9d5e573a6bf62c
parent3d9c9d5411dbc95c7998248e65b3a1b460580695
server/gstdecode.c: Dissect the message more portably.

We can use `gst_message_get_structure' in both versions, so do that
rather than ifdeffery.  Use the `GST_MESSAGE_TYPE' macro to get the
type, for future compatibility.
server/gstdecode.c