MediaInput: Rename streams access methods.

Change MediaInput::footage() to MediaInput::stream() and
MediaInput::SetFootage() to MediaInput::SetStream() as they access
streams not footage.

Also update all instances of access methods to reflect this change.
This commit is contained in:
Thomas Wilshaw
2020-10-19 15:50:36 +01:00
parent 56acbfd06c
commit 4ddc659335
7 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -414,7 +414,7 @@ void ImportTool::DropGhosts(bool insert)
case Stream::kImage:
{
VideoInput* video_input = new VideoInput();
video_input->SetFootage(footage_stream);
video_input->SetStream(footage_stream);
new NodeAddCommand(dst_graph, video_input, command);
new NodeEdgeAddCommand(video_input->output(), clip->texture_input(), command);
@@ -436,7 +436,7 @@ void ImportTool::DropGhosts(bool insert)
case Stream::kAudio:
{
AudioInput* audio_input = new AudioInput();
audio_input->SetFootage(footage_stream);
audio_input->SetStream(footage_stream);
new NodeAddCommand(dst_graph, audio_input, command);
VolumeNode* volume_node = new VolumeNode();