Ticket #11249: transcode-delete.patch

File transcode-delete.patch, 532 bytes (added by doug@…, 13 years ago)
  • mythtv/programs/mythtranscode/transcode.cpp

    diff --git a/mythtv/programs/mythtranscode/transcode.cpp b/mythtv/programs/mythtranscode/transcode.cpp
    index 71cee6d..eac2089 100755
    a b int Transcode::TranscodeFile(const QString &inputname, 
    15131513    if (videoBuffer)
    15141514    {
    15151515        videoBuffer->stop();
    1516         delete videoBuffer;
     1516        //don't delete videobuffer because it is a QRunnable
     1517        //and will get deleted automatically
    15171518    }
    15181519
    15191520    av_free(newFrame);