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:
@@ -103,10 +103,10 @@ namespace openshot
|
||||
}
|
||||
|
||||
// Get the current frame object (which is filling the buffer)
|
||||
tr1::shared_ptr<Frame> AudioPlaybackThread::getFrame()
|
||||
std::shared_ptr<Frame> AudioPlaybackThread::getFrame()
|
||||
{
|
||||
if (source) return source->getFrame();
|
||||
return tr1::shared_ptr<Frame>();
|
||||
return std::shared_ptr<Frame>();
|
||||
}
|
||||
|
||||
// Get the currently playing frame number
|
||||
|
||||
Reference in New Issue
Block a user