videorenderparams: don't consider a null timebase invalid

Not all items that use VideoRenderParams need a timebase much like they don't
all need a render mode.
This commit is contained in:
itsmattkc
2020-04-01 05:19:04 +11:00
parent 154f6c5666
commit b562a84e00
-1
View File
@@ -113,7 +113,6 @@ bool VideoRenderingParams::is_valid() const
{
return (width() > 0
&& height() > 0
&& !time_base().isNull()
&& format_ != PixelFormat::PIX_FMT_INVALID
&& format_ != PixelFormat::PIX_FMT_COUNT);
}