Skip to content
Permalink
Browse files

fixup! MMAL: Indicate when picture came from still frame so advanced …

…deinterlace can be disabled
  • Loading branch information...
popcornmix committed Sep 20, 2016
1 parent 3d80de2 commit e29f13c1f978fa27020d785785706ca2a3c2ba0d
@@ -72,6 +72,7 @@ CMMALVideoBuffer::CMMALVideoBuffer(CMMALVideo *omv, std::shared_ptr<CMMALPool> p
m_encoding = MMAL_ENCODING_UNKNOWN;
m_aspect_ratio = 0.0f;
m_rendered = false;
m_stills = false;
}

CMMALVideoBuffer::~CMMALVideoBuffer()
@@ -54,6 +54,7 @@ CMMALYUVBuffer::CMMALYUVBuffer(CDecoder *omv, std::shared_ptr<CMMALPool> pool, u
m_aspect_ratio = 0.0f;
mmal_buffer = nullptr;
m_rendered = false;
m_stills = false;
if (m_encoding == MMAL_ENCODING_I420)
size_pic = (m_aligned_width * m_aligned_height * 3) >> 1;
else if (m_encoding == MMAL_ENCODING_YUVUV128)

0 comments on commit e29f13c

Please sign in to comment.
You can’t perform that action at this time.