Skip to content

Commit

Permalink
[fadeToBlack] Remove overzealous bounds checks, the one in configure(…
Browse files Browse the repository at this point in the history
…) is enough

The totalDuration reported by the bridge is *not* necessarily the total duration of the video, duh. This was a regression from b20b248, it resulted in configuration being reset when the difference between the end and the start time of the bridge was less than the start time of the filter.
  • Loading branch information
eumagga0x2a committed Jun 23, 2018
1 parent 66e80a0 commit 200e2d6
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ AVDM_Fade::AVDM_Fade(ADM_coreVideoFilter *in,CONFcouple *setup) : ADM_coreVideo
*/
void AVDM_Fade::setCoupledConf(CONFcouple *couples)
{
boundsCheck();
ADM_paramLoad(couples, fade_param, &param);
}

Expand All @@ -139,7 +138,6 @@ void AVDM_Fade::setCoupledConf(CONFcouple *couples)
*/
bool AVDM_Fade::getCoupledConf(CONFcouple **couples)
{
boundsCheck();
return ADM_paramSave(couples, fade_param,&param);
}

Expand Down

0 comments on commit 200e2d6

Please sign in to comment.