Skip to content

Commit

Permalink
[editor] Skip check for doubled FPS for field encoded video to avoid …
Browse files Browse the repository at this point in the history
…false positives
  • Loading branch information
eumagga0x2a committed Dec 14, 2020
1 parent cc77ff8 commit 8d5d43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avidemux/common/ADM_editor/src/ADM_edit.cpp
Expand Up @@ -738,7 +738,7 @@ uint8_t ADM_Composer::addFile (const char *name)
ADM_info("%s sometimes has invalid timestamps which confuse avidemux, checking\n",fourCC::tostring(info.fcc));
checkForValidPts(_segments.getSegment(lastVideo-1));
}
if(true==checkForDoubledFps( video._aviheader,video.timeIncrementInUs))
if(!video.fieldEncoded && checkForDoubledFps(video._aviheader,video.timeIncrementInUs))
{
ADM_info("Halving Fps...\n");
_segments.halfFps();
Expand Down

0 comments on commit 8d5d43c

Please sign in to comment.