diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-23 00:05:17 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-23 00:05:17 +0300 |
commit | fa0a5044a91186ed21b858ac2b9970ff777b19df (patch) | |
tree | 0c6719ec9022fa8042087bc33ef2f6185b1ea1e2 | |
parent | 675385e7385fad429784b1fdf43870d693656f61 (diff) |
Set a better default for the aspect ratio
-rw-r--r-- | decoder/LAVVideo/LAVVideo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/LAVVideo/LAVVideo.cpp b/decoder/LAVVideo/LAVVideo.cpp index d7f84c15..da336f42 100644 --- a/decoder/LAVVideo/LAVVideo.cpp +++ b/decoder/LAVVideo/LAVVideo.cpp @@ -1460,6 +1460,7 @@ STDMETHODIMP CLAVVideo::AllocateFrame(LAVFrame **ppFrame) (*ppFrame)->bpp = 8; (*ppFrame)->rtStart = AV_NOPTS_VALUE; (*ppFrame)->rtStop = AV_NOPTS_VALUE; + (*ppFrame)->aspect_ratio = { 0, 1 }; (*ppFrame)->frame_type = '?'; |