Ticket #5388: itvhd.diff
File itvhd.diff, 648 bytes (added by , 16 years ago) |
---|
-
libs/libmythtv/avformatdecoder.
old new 1471 1471 1472 1472 // HACK -- begin 1473 1473 // 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 } 1474 1481 if (CODEC_ID_H264 == enc->codec_id && enc->bit_rate == 0) 1475 1482 enc->bit_rate = 500000; 1476 1483 // HACK -- end