mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed invalid AVI header flags
Videos should now play in Windows Media Player. I believe the previous flags were wrong, as 0x1 doesn't seem to be a valid flag (see, for instance: https://ffmpeg.org/doxygen/0.6/avi_8h.html).
This commit is contained in:
@@ -63,7 +63,7 @@ struct AviWriter
|
||||
bx::write(m_writer, UINT32_C(0) ); // dwMicroSecPerFrame
|
||||
bx::write(m_writer, UINT32_C(0) ); // dwMaxBytesPerSec
|
||||
bx::write(m_writer, UINT32_C(0) ); // dwPaddingGranularity
|
||||
bx::write(m_writer, UINT32_C(0x101) ); // dwFlags
|
||||
bx::write(m_writer, UINT32_C(0x110) ); // dwFlags
|
||||
|
||||
m_totalFramesOffset = m_writer->seek();
|
||||
bx::write(m_writer, UINT32_C(0) ); // dwTotalFrames
|
||||
|
||||
Reference in New Issue
Block a user