================================================================================
|
|
|
|
| 1482 | 1482 | if (CODEC_ID_H264 == enc->codec_id && enc->bit_rate == 0) |
| 1483 | 1483 | enc->bit_rate = 500000; |
| 1484 | 1484 | // HACK -- end |
| | 1485 | |
| | 1486 | // HACK -- begin |
| | 1487 | // strange stream with 0 bitrate |
| | 1488 | if (enc->bit_rate == 0) |
| | 1489 | { |
| | 1490 | VERBOSE(VB_IMPORTANT, |
| | 1491 | LOC + QString("Stream #%1 has an unknown video " |
| | 1492 | "codec id, skipping.").arg(i)); |
| | 1493 | continue; |
| | 1494 | } |
| | 1495 | // HACK -- end |
| 1485 | 1496 | |
| 1486 | 1497 | bitrate += enc->bit_rate; |
| 1487 | 1498 | if (novideo) |