diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-06-03 16:08:42 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-06-03 16:08:42 +0200 |
commit | 1f250046a36807dd3e901dd3393b1e89e16c32ec (patch) | |
tree | 54fcc34f6bc58ce5da63cec5926649eb396f34e6 | |
parent | 009a33668b8329d7d15961d5c562be96db51285e (diff) |
plugins: fix compilation of optional plugins
-rw-r--r-- | spa/plugins/audiomixer/audiomixer.c | 2 | ||||
-rw-r--r-- | spa/plugins/audiotestsrc/audiotestsrc.c | 4 | ||||
-rw-r--r-- | spa/plugins/ffmpeg/ffmpeg-dec.c | 2 | ||||
-rw-r--r-- | spa/plugins/ffmpeg/ffmpeg-enc.c | 2 | ||||
-rw-r--r-- | spa/plugins/test/fakesink.c | 4 | ||||
-rw-r--r-- | spa/plugins/test/fakesrc.c | 4 | ||||
-rw-r--r-- | spa/plugins/videotestsrc/videotestsrc.c | 4 | ||||
-rw-r--r-- | spa/plugins/volume/volume.c | 4 |
8 files changed, 13 insertions, 13 deletions
diff --git a/spa/plugins/audiomixer/audiomixer.c b/spa/plugins/audiomixer/audiomixer.c index d544f5b0..aabce2bc 100644 --- a/spa/plugins/audiomixer/audiomixer.c +++ b/spa/plugins/audiomixer/audiomixer.c @@ -433,7 +433,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; diff --git a/spa/plugins/audiotestsrc/audiotestsrc.c b/spa/plugins/audiotestsrc/audiotestsrc.c index b5599944..6b6daad4 100644 --- a/spa/plugins/audiotestsrc/audiotestsrc.c +++ b/spa/plugins/audiotestsrc/audiotestsrc.c @@ -231,7 +231,7 @@ static int impl_node_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; @@ -640,7 +640,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; diff --git a/spa/plugins/ffmpeg/ffmpeg-dec.c b/spa/plugins/ffmpeg/ffmpeg-dec.c index df34c048..01c84f1c 100644 --- a/spa/plugins/ffmpeg/ffmpeg-dec.c +++ b/spa/plugins/ffmpeg/ffmpeg-dec.c @@ -277,7 +277,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; diff --git a/spa/plugins/ffmpeg/ffmpeg-enc.c b/spa/plugins/ffmpeg/ffmpeg-enc.c index 8628453d..04f7046d 100644 --- a/spa/plugins/ffmpeg/ffmpeg-enc.c +++ b/spa/plugins/ffmpeg/ffmpeg-enc.c @@ -264,7 +264,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; diff --git a/spa/plugins/test/fakesink.c b/spa/plugins/test/fakesink.c index 9429bbbb..669d33b6 100644 --- a/spa/plugins/test/fakesink.c +++ b/spa/plugins/test/fakesink.c @@ -146,7 +146,7 @@ static int impl_node_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; @@ -498,7 +498,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; diff --git a/spa/plugins/test/fakesrc.c b/spa/plugins/test/fakesrc.c index 666dfa09..e0cf865f 100644 --- a/spa/plugins/test/fakesrc.c +++ b/spa/plugins/test/fakesrc.c @@ -155,7 +155,7 @@ static int impl_node_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; @@ -514,7 +514,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; diff --git a/spa/plugins/videotestsrc/videotestsrc.c b/spa/plugins/videotestsrc/videotestsrc.c index d8ff7dfd..54e78147 100644 --- a/spa/plugins/videotestsrc/videotestsrc.c +++ b/spa/plugins/videotestsrc/videotestsrc.c @@ -201,7 +201,7 @@ static int impl_node_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; @@ -579,7 +579,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; diff --git a/spa/plugins/volume/volume.c b/spa/plugins/volume/volume.c index 20b1a3d0..b08ed7c7 100644 --- a/spa/plugins/volume/volume.c +++ b/spa/plugins/volume/volume.c @@ -175,7 +175,7 @@ static int impl_node_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; @@ -418,7 +418,7 @@ impl_node_port_enum_params(void *object, int seq, if (spa_pod_filter(&b, &result.param, param, filter) < 0) goto next; - spa_node_emit_result(&this->hooks, seq, 0, &result); + spa_node_emit_result(&this->hooks, seq, 0, SPA_RESULT_TYPE_NODE_PARAMS, &result); if (++count != num) goto next; |