We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b91fc30 commit 1869f4aCopy full SHA for 1869f4a
src/AvTranscoder/frame/VideoFrame.hpp
@@ -40,7 +40,7 @@ class AvExport VideoFrameDesc
40
41
void setWidth ( const size_t width ) { _width = width; }
42
void setHeight( const size_t height ) { _height = height; }
43
- void setPixel ( const Pixel pixel ) { _pixel = pixel; }
+ void setPixel( const Pixel& pixel ) { _pixel = pixel; }
44
void setDar( const size_t num, const size_t den ) { _displayAspectRatio.num = num; _displayAspectRatio.den = den; }
45
void setDar( const Rational ratio ) { _displayAspectRatio = ratio; }
46
0 commit comments