Ticket #861: nvp.diff

File nvp.diff, 587 bytes (added by jwestfall@…, 18 years ago)

updated patch per ijr request

  • libs/libmythtv/NuppelVideoPlayer.cpp

     
    819819
    820820void NuppelVideoPlayer::DiscardVideoFrame(VideoFrame *buffer)
    821821{
    822     videoOutput->DiscardFrame(buffer);
     822    if (videoOutput)
     823       videoOutput->DiscardFrame(buffer);
    823824}
    824825
    825826void NuppelVideoPlayer::DiscardVideoFrames()
    826827{
    827     videoOutput->DiscardFrames();
     828    if (videoOutput)
     829       videoOutput->DiscardFrames();
    828830}
    829831