Skip to content

Commit a10dc3f

Browse files
author
Clement Champetier
committed
VideoFrameDesc: add default constructor
1 parent 1d42f16 commit a10dc3f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/AvTranscoder/EssenceStructures/VideoFrame.hpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ namespace avtranscoder
3333
class AvExport VideoFrameDesc
3434
{
3535
public:
36+
VideoFrameDesc()
37+
: m_width( 0 )
38+
, m_height( 0 )
39+
, m_displayAspectRatio()
40+
, m_pixel()
41+
, m_interlaced( false )
42+
, m_topFieldFirst( false )
43+
{};
44+
3645
void setWidth ( const size_t width ) { m_width = width; }
3746
void setHeight( const size_t height ) { m_height = height; }
3847
void setPixel ( const Pixel pixel ) { m_pixel = pixel; }

0 commit comments

Comments
 (0)