Ticket #2557: playbackbox.diff

File playbackbox.diff, 591 bytes (added by paulh, 14 years ago)

Patch to re-use the AudioOutput? on each track change

  • mythmusic/mythmusic/playbackbox.cpp

     
    218218{
    219219    stopAll();
    220220
     221    if (output)
     222    {
     223        delete output;
     224        output = NULL;
     225    }
     226
    221227    if (progress)
    222228    {
    223229        progress->Close();
     
    12881294{
    12891295    stopDecoder();
    12901296
    1291     if (output)
    1292     {
    1293         delete output;
    1294         output = 0;
    1295     }
    1296 
    12971297    mainvisual->setDecoder(0);
    12981298    mainvisual->setOutput(0);
    12991299