don't use shared ptrs on streams

This commit is contained in:
itsmattkc
2020-12-16 13:46:19 +11:00
parent e12013e2fb
commit 6cb6407bd8
47 changed files with 192 additions and 212 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
namespace olive {
PreCacheTask::PreCacheTask(VideoStreamPtr footage, Sequence* sequence) :
PreCacheTask::PreCacheTask(VideoStream *footage, Sequence* sequence) :
RenderTask(new ViewerOutput(), sequence->video_params(), sequence->audio_params()),
footage_(footage)
{
+2 -2
View File
@@ -32,7 +32,7 @@ class PreCacheTask : public RenderTask
{
Q_OBJECT
public:
PreCacheTask(VideoStreamPtr footage, Sequence* sequence);
PreCacheTask(VideoStream* footage, Sequence* sequence);
virtual ~PreCacheTask() override;
@@ -44,7 +44,7 @@ protected:
virtual void AudioDownloaded(const TimeRange& range, SampleBufferPtr samples, qint64 job_time) override;
private:
VideoStreamPtr footage_;
VideoStream* footage_;
MediaInput* video_node_;