Skip to content

Commit

Permalink
Fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
Vouk committed Jul 12, 2023
1 parent bf43dd9 commit 4248dec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Core/src/EncoderEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ int EncoderEngine::open()
// Create format context
formatContext = avformat_alloc_context();
formatContext->oformat = av_guess_format(exportInfo.format.id.c_str(), exportInfo.filename.c_str(), NULL);
formatContext->max_interleave_delta = INT64_MAX;
formatContext->strict_std_compliance = FF_COMPLIANCE_VERY_STRICT;
//formatContext->debug = FF_FDEBUG_TS;

// Reset contexts
Expand Down Expand Up @@ -830,8 +832,7 @@ int EncoderEngine::receivePackets(AVCodecContext* codecContext, AVStream* stream
packet->stream_index = stream->index;

// Write packet to disk
ret = av_write_frame(formatContext, packet);
//ret = av_interleaved_write_frame(formatContext, packet);
ret = av_interleaved_write_frame(formatContext, packet);

av_packet_unref(packet);

Expand Down
4 changes: 2 additions & 2 deletions Voukoder/Voukoder.vcxproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<LocalDebuggerCommandArguments>
</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommand>C:\Program Files\Blackmagic Design\DaVinci Resolve\Resolve.exe</LocalDebuggerCommand>
<LocalDebuggerWorkingDirectory>C:\Program Files\Blackmagic Design\DaVinci Resolve</LocalDebuggerWorkingDirectory>
<LocalDebuggerCommand>C:\Program Files\Adobe\Adobe Premiere Pro 2023\Adobe Premiere Pro.exe</LocalDebuggerCommand>
<LocalDebuggerWorkingDirectory>C:\Program Files\Adobe\Adobe Premiere Pro 2023</LocalDebuggerWorkingDirectory>
</PropertyGroup>
</Project>

0 comments on commit 4248dec

Please sign in to comment.