You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #563 from ferdnyc/timeline-lookup-api
Timeline: Add clip/effect lookup api, GetMaxFrame/GetMaxTime method (w/ unit tests)
This commit is contained in:
@@ -1296,7 +1296,7 @@ void FFmpegReader::ProcessVideoPacket(int64_t requested_frame) {
|
||||
if (max_height <= 0)
|
||||
max_height = info.height;
|
||||
|
||||
Clip *parent = (Clip *) GetClip();
|
||||
Clip *parent = (Clip *) GetParentClip();
|
||||
if (parent) {
|
||||
if (parent->scale == SCALE_FIT || parent->scale == SCALE_STRETCH) {
|
||||
// Best fit or Stretch scaling (based on max timeline size * scaling keyframes)
|
||||
|
||||
Reference in New Issue
Block a user