Ticket #5388: itvhd.diff

File itvhd.diff, 648 bytes (added by anonymous, 16 years ago)
  • libs/libmythtv/avformatdecoder.

    old new  
    14711471
    14721472                // HACK -- begin
    14731473                // ffmpeg is unable to compute H.264 bitrates in mpegts?
     1474                if ((int)ic->streams[i]->id == 3401)
     1475                {
     1476                        VERBOSE(VB_IMPORTANT, QString("Forcing h.264 for ITV HD workaround"));
     1477                        enc->codec_id = CODEC_ID_H264;
     1478                        enc->width = 1440;
     1479                        enc->height = 1080;
     1480                }
    14741481                if (CODEC_ID_H264 == enc->codec_id && enc->bit_rate == 0)
    14751482                    enc->bit_rate = 500000;
    14761483                // HACK -- end