You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Migrating tr1 to std, adding C++11 support to build scripts, fixing crash in FFmpegReader (caused by shared_ptr, buffer, and last_video_frame corruption). Much improved stability with this change. Thanks to Craig and Peter for the help!
This commit is contained in:
@@ -45,7 +45,7 @@ Negate::Negate()
|
||||
|
||||
// This method is required for all derived classes of EffectBase, and returns a
|
||||
// modified openshot::Frame object
|
||||
tr1::shared_ptr<Frame> Negate::GetFrame(tr1::shared_ptr<Frame> frame, long int frame_number)
|
||||
std::shared_ptr<Frame> Negate::GetFrame(std::shared_ptr<Frame> frame, long int frame_number)
|
||||
{
|
||||
// Make a negative of the images pixels
|
||||
frame->GetImage()->invertPixels();
|
||||
|
||||
Reference in New Issue
Block a user