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:
@@ -195,7 +195,7 @@ void DeckLinkOutputDelegate::ScheduleNextFrame(bool prerolling)
|
||||
|
||||
}
|
||||
|
||||
void DeckLinkOutputDelegate::WriteFrame(tr1::shared_ptr<openshot::Frame> frame)
|
||||
void DeckLinkOutputDelegate::WriteFrame(std::shared_ptr<openshot::Frame> frame)
|
||||
{
|
||||
|
||||
#pragma omp critical (blackmagic_output_queue)
|
||||
@@ -220,7 +220,7 @@ void DeckLinkOutputDelegate::WriteFrame(tr1::shared_ptr<openshot::Frame> frame)
|
||||
while (!raw_video_frames.empty())
|
||||
{
|
||||
// Get front frame (from the queue)
|
||||
tr1::shared_ptr<openshot::Frame> frame = raw_video_frames.front();
|
||||
std::shared_ptr<openshot::Frame> frame = raw_video_frames.front();
|
||||
raw_video_frames.pop_front();
|
||||
|
||||
// copy of frame count
|
||||
|
||||
Reference in New Issue
Block a user