Skip to content

Commit 8406ade

Browse files
committed
字幕のコピー等が動かなくなっていたのを修正。 e00b19a の不具合。
1 parent 7f40900 commit 8406ade

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NVEncCore/rgy_input_avcodec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,9 +1012,9 @@ RGY_ERR RGYInputAvcodec::Init(const TCHAR *strFileName, VideoInfo *inputInfo, co
10121012
stream.extractErrExcess = 0;
10131013
stream.appliedTrimBlock = -1;
10141014
stream.trimOffset = 0;
1015-
stream.addDelayMs = pAudioSelect->addDelayMs;
10161015
stream.aud0_fin = AV_NOPTS_VALUE;
10171016
if (pAudioSelect) {
1017+
stream.addDelayMs = pAudioSelect->addDelayMs;
10181018
memcpy(stream.streamChannelSelect, pAudioSelect->streamChannelSelect, sizeof(stream.streamChannelSelect));
10191019
memcpy(stream.streamChannelOut, pAudioSelect->streamChannelOut, sizeof(stream.streamChannelOut));
10201020
}

0 commit comments

Comments
 (0)