Page MenuHome

Fix T87932: Failure to build movie strip proxy
AbandonedPublic

Authored by Sebastian Parborg (zeddb) on May 25 2021, 5:40 PM.

Details

Reviewers
None
Summary

We didn't initialize the scaled proxy frame properly.
This would lead to issues in ffmpeg 4.4 as they are more strict that the API is properly used.

Now we initialize the size and format of the frame.

Diff Detail

Event Timeline

Richard Antalik (ISS) added inline comments.
source/blender/imbuf/intern/indexer.c
599

Can you link to resource that require this? also it would be best to document why it's needed in code, because similar code for height was removed, because it was causing performance issues in rB4fd73e746553

source/blender/imbuf/intern/indexer.c
599

Ah I just refactored the code a bit. I can just remove this part then?
I'm guessing it is the same faulty reasoning as in the other part that you cleaned up.

Sebastian Parborg (zeddb) marked an inline comment as done.May 26 2021, 11:27 AM

Talked to richard on blender.chat. The round_up code was there to work around issues not in ffmpeg 4.4 we can remove it.

I've merged this to master.