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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user