Ticket #10768: av_encode-v0.26-pre-409-gc51c98a.patch

File av_encode-v0.26-pre-409-gc51c98a.patch, 682 bytes (added by ggervasio@…, 13 years ago)

fix mpeg-4 video encode

  • mythtv/libs/libmythtv/NuppelVideoRecorder.cpp

    commit 28eec151ce15a4b55b60ef474729c5c4e1ef60a4
    Author: Gregorio Gervasio, Jr <ggervasio@yahoo.com>
    Date:   Mon May 28 10:01:20 2012 -0700
    
        Fixed libavcodec video encoding.
    
    diff --git a/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp b/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
    index 6fc9b80..380e69e 100644
    a b void NuppelVideoRecorder::WriteVideo(VideoFrame *frame, bool skipsync, 
    29722972                    "WriteVideo : avcodec_encode_video() failed");
    29732973                return;
    29742974            }
     2975
     2976            tmp = packet.size;
    29752977        }
    29762978    }
    29772979    else