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:
@@ -231,10 +231,10 @@ unsigned long DecklinkReader::GetCurrentFrameNumber()
|
||||
}
|
||||
|
||||
// Get an openshot::Frame object for the next available LIVE frame
|
||||
tr1::shared_ptr<Frame> DecklinkReader::GetFrame(long int requested_frame) throw(ReaderClosed)
|
||||
std::shared_ptr<Frame> DecklinkReader::GetFrame(long int requested_frame) throw(ReaderClosed)
|
||||
{
|
||||
// Get a frame from the delegate decklink class (which is collecting them on another thread)
|
||||
tr1::shared_ptr<Frame> f = delegate->GetFrame(requested_frame);
|
||||
std::shared_ptr<Frame> f = delegate->GetFrame(requested_frame);
|
||||
|
||||
// cout << "Change the frame number to " << requested_frame << endl;
|
||||
// f->SetFrameNumber(requested_frame);
|
||||
|
||||
Reference in New Issue
Block a user