EncoderPlugin: pass Tag reference to method tag()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user