itsmattkc 562891c391 renderer: handle ffmpeg returning a zero aspect ratio
We try to handle aspect ratios in metadata (e.g. stretching 1440x1080 videos
out to 1920x1080 when requested), and FFmpeg will usually return a 1/1
aspect ratio even if it can't determine an aspect ratio. However, as mentioned
in the documentation, sometimes it returns a 0/0 aspect ratio when it can't
determine an aspect ratio, which we didn't handle and would lead to the code
allocating a buffer with a 0px height. This commit handles both 1/1 and 0/0
aspect ratios in accordance with the FFmpeg documentation.

Reference: https://www.ffmpeg.org/doxygen/4.0/structAVFrame.html#a62f9c20541a83d37db7072126ff0060d
2020-01-20 04:07:42 +11:00
2019-12-18 16:48:03 +11:00
2019-03-04 09:55:17 -08:00
2019-06-15 07:39:55 -07:00
2019-07-16 04:44:31 -04:00
2019-09-30 07:45:27 +10:00
2020-01-19 20:39:48 +11:00
2019-06-29 01:42:07 -07:00
2018-07-24 00:46:18 +01:00
2019-10-13 19:21:23 -07:00

Olive Video Editor Build Status Build Status

Olive is a free non-linear video editor for Windows, macOS, and Linux.

screen

Discover more: Website | Twitter | Discord | Code Documentation

NOTE: The issue tracker is temporarily closed while Olive's core is getting rewritten. We apologize for any inconvenience. Please check back soon for the next release, as well as the Patreon page for news and updates.

Getting Started with Olive:

Installation of Olive is available at: https://olivevideoeditor.org/download.php

Instructions on how to use Olive are available on our wiki: https://github.com/olive-editor/olive/wiki/Overview-Guide

NOTE: Olive is Alpha Software, and it should be treated as highly unstable. Work at your own risk.

Support Olive:

Please consider supporting Olive:

Become a Patron

NOTE: It is strongly discouraged to use or compile the master branch in its current state as it's under heavy restructuring. Please use the 0.1.x code from the "Releases" tab instead.

Compiling from Source:

Compiling instructions for Windows, macOS, and Linux can be found on the main site.

Olive has Doxygen-compatible documentation hosted at http://olivevideoeditor.org/doxygen/. You can also run doxygen in the source root directory to generate a local copy.

S
Description
No description provided
Readme GPL-3.0
73 MiB
Languages
C++ 87.8%
C 8.2%
CMake 3.3%
GLSL 0.5%