mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05: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:
parent
87d3501ded
commit
29782ca333
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue