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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user