also, don't need the device open to send the metadata

git-svn-id: https://svn.musicpd.org/mpd/trunk@2347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-10-26 02:33:09 +00:00
parent 547448eee9
commit 2a165ca826

View File

@ -65,6 +65,6 @@ void finishAudioOutput(AudioOutput * audioOutput) {
}
void sendMetadataToAudioOutput(AudioOutput * audioOutput, MpdTag * tag) {
if(!audioOutput->open || !audioOutput->sendMetdataFunc) return;
if(!audioOutput->sendMetdataFunc) return;
audioOutput->sendMetdataFunc(audioOutput, tag);
}