aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-26 22:30:54 +0100
committerMax Kellermann <max@duempel.org>2014-12-26 22:30:54 +0100
commitaf9092df3928ee770875a0b1acee1dc7b6347245 (patch)
tree5ca24d3a67479af975712b0e032a4a3c8e0a30dd /src/output/plugins
parent58a5da33c243c057ac4f70ffcfa179b9710161d2 (diff)
downloadmpd-af9092df3928ee770875a0b1acee1dc7b6347245.tar.gz
mpd-af9092df3928ee770875a0b1acee1dc7b6347245.tar.xz
mpd-af9092df3928ee770875a0b1acee1dc7b6347245.zip
EncoderPlugin: pass Tag reference to method tag()
Diffstat (limited to 'src/output/plugins')
-rw-r--r--src/output/plugins/RecorderOutputPlugin.cxx2
-rw-r--r--src/output/plugins/ShoutOutputPlugin.cxx2
-rw-r--r--src/output/plugins/httpd/HttpdOutputPlugin.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx
index 4dc516996..5a082538c 100644
--- a/src/output/plugins/RecorderOutputPlugin.cxx
+++ b/src/output/plugins/RecorderOutputPlugin.cxx
@@ -252,7 +252,7 @@ RecorderOutput::SendTag(const Tag &tag)
Error error;
if (!encoder_pre_tag(encoder, error) ||
!EncoderToFile(error) ||
- !encoder_tag(encoder, &tag, error))
+ !encoder_tag(encoder, tag, error))
LogError(error);
}
diff --git a/src/output/plugins/ShoutOutputPlugin.cxx b/src/output/plugins/ShoutOutputPlugin.cxx
index 014c246c0..1fcf48442 100644
--- a/src/output/plugins/ShoutOutputPlugin.cxx
+++ b/src/output/plugins/ShoutOutputPlugin.cxx
@@ -498,7 +498,7 @@ static void my_shout_set_tag(AudioOutput *ao,
Error error;
if (!encoder_pre_tag(sd->encoder, error) ||
!write_page(sd, error) ||
- !encoder_tag(sd->encoder, &tag, error)) {
+ !encoder_tag(sd->encoder, tag, error)) {
LogError(error);
return;
}
diff --git a/src/output/plugins/httpd/HttpdOutputPlugin.cxx b/src/output/plugins/httpd/HttpdOutputPlugin.cxx
index 9bc2030fe..b2622e64b 100644
--- a/src/output/plugins/httpd/HttpdOutputPlugin.cxx
+++ b/src/output/plugins/httpd/HttpdOutputPlugin.cxx
@@ -512,7 +512,7 @@ HttpdOutput::SendTag(const Tag &tag)
/* send the tag to the encoder - which starts a new
stream now */
- encoder_tag(encoder, &tag, IgnoreError());
+ encoder_tag(encoder, tag, IgnoreError());
/* the first page generated by the encoder will now be
used as the new "header" page, which is sent to all