Skip to content

Commit

Permalink
Frame size is not cropped anymore if a filter hast applied has applie…
Browse files Browse the repository at this point in the history
…d something before
  • Loading branch information
Vouk committed Feb 27, 2021
1 parent e2dbc92 commit 3808623
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Voukoder/CVoukoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ STDMETHODIMP CVoukoder::SetConfig(VKENCODERCONFIG config)
exportInfo.video.colorPrimaries = AVColorPrimaries::AVCOL_PRI_UNSPECIFIED;
exportInfo.video.colorTransferCharacteristics = AVColorTransferCharacteristic::AVCOL_TRC_UNSPECIFIED;

// Default frame size to 0 as we late check if a filter has set this to a size or if it is still 0
exportInfo.video.width = 0;
exportInfo.video.height = 0;

// Apply filter outputs
for(const auto & options: exportInfo.video.filters)
{
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\VEGAS\VEGAS Pro 17.0\vegas170.exe</LocalDebuggerCommand>
<LocalDebuggerWorkingDirectory>C:\Program Files\VEGAS\VEGAS Pro 17.0</LocalDebuggerWorkingDirectory>
<LocalDebuggerCommand>C:\Program Files\Adobe\Adobe Premiere Pro 2020\Adobe Premiere Pro.exe</LocalDebuggerCommand>
<LocalDebuggerWorkingDirectory>C:\Program Files\Adobe\Adobe Premiere Pro 2020</LocalDebuggerWorkingDirectory>
</PropertyGroup>
</Project>

0 comments on commit 3808623

Please sign in to comment.