diff --git a/src/Mix.cpp b/src/Mix.cpp index c83705a8d..bdca70fd2 100644 --- a/src/Mix.cpp +++ b/src/Mix.cpp @@ -134,8 +134,12 @@ bool MixAndRender(TrackList *tracks, TrackFactory *trackFactory, } else { mixRight = trackFactory->NewWaveTrack(format, rate); - if (oneinput) - mixLeft->SetName(usefulIter.First()->GetLink()->GetName()); /* set name to match input track's right channel!*/ + if (oneinput) { + if (usefulIter.First()->GetLink() != NULL) // we have linked track + mixLeft->SetName(usefulIter.First()->GetLink()->GetName()); /* set name to match input track's right channel!*/ + else + mixLeft->SetName(usefulIter.First()->GetName()); /* set name to that of sole input channel */ + } else mixRight->SetName(_("Mix")); mixLeft->SetChannel(Track::LeftChannel);