diff -Naur ./orig//transcode.cpp ./patched//transcode.cpp
old
|
new
|
|
423 | 423 | return REENCODE_ERROR; |
424 | 424 | } |
425 | 425 | |
| 426 | if (AudioTrackNo > -1) |
| 427 | { |
| 428 | VERBOSE(VB_GENERAL, QString("Set audiotrack number to %1").arg(AudioTrackNo)); |
| 429 | player->GetDecoder()->SetTrack(kTrackTypeAudio, AudioTrackNo); |
| 430 | } |
| 431 | |
426 | 432 | long long total_frame_count = player->GetTotalFrameCount(); |
427 | 433 | long long new_frame_count = total_frame_count; |
428 | 434 | if (honorCutList && m_proginfo) |
… |
… |
|
737 | 743 | return REENCODE_ERROR; |
738 | 744 | } |
739 | 745 | |
740 | | if (AudioTrackNo > -1) |
741 | | { |
742 | | VERBOSE(VB_GENERAL, QString("Set audiotrack number to %1").arg(AudioTrackNo)); |
743 | | player->GetDecoder()->SetTrack(kTrackTypeAudio, AudioTrackNo); |
744 | | } |
745 | | |
746 | 746 | int vidSize = 0; |
747 | 747 | |
748 | 748 | // 1920x1080 video is actually 1920x1088 because of the 16x16 blocks so |