Ticket #4851: mythphone_loopback_fix_v2.diff

File mythphone_loopback_fix_v2.diff, 576 bytes (added by Shane Shrybman <gnome42@…>, 12 years ago)

v2

  • mythphone/mythphone/h263.cpp

     
    8181    MaxPostEncodeSize = 100000;
    8282    PostEncodeFrame = (uchar *)malloc(MaxPostEncodeSize);
    8383   
     84    /* Set default values (pts mainly) */
     85    avcodec_get_frame_defaults(&pictureOut);
     86
    8487    pictureOut.linesize[0] = h263EncContext->width;
    8588    pictureOut.linesize[1] = h263EncContext->width / 2;
    8689    pictureOut.linesize[2] = h263EncContext->width / 2;