Ticket #4240: mythtv_NVR_double_length_fix.diff
File mythtv_NVR_double_length_fix.diff, 696 bytes (added by , 16 years ago) |
---|
-
libs/libmythtv/NuppelVideoRecorder.cpp
493 493 } 494 494 495 495 mpa_vidctx = avcodec_alloc_context(); 496 497 avcodec_get_frame_defaults(&mpa_picture); 496 498 497 499 switch (picture_format) 498 500 { … … 3034 3036 mpa_picture.linesize[0] = frame->width; 3035 3037 mpa_picture.linesize[1] = frame->width / 2; 3036 3038 mpa_picture.linesize[2] = frame->width / 2; 3037 mpa_picture.pts = frame->frameNumber;3038 3039 mpa_picture.type = FF_BUFFER_TYPE_SHARED; 3039 3040 3040 3041 if (wantkeyframe)