[vlmc-devel] TrackWorkflow: Use replaseWithBalnk instead of remove
Yikai Lu
git at videolan.org
Thu Jul 28 14:39:29 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Thu Jul 28 21:00:28 2016 +0900| [002274a181b1e3c984ce46b13948fe178dd6a547] | committer: Yikai Lu
TrackWorkflow: Use replaseWithBalnk instead of remove
> https://code.videolan.org/videolan/vlmc/commit/002274a181b1e3c984ce46b13948fe178dd6a547
---
src/Workflow/TrackWorkflow.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Workflow/TrackWorkflow.cpp b/src/Workflow/TrackWorkflow.cpp
index b78803d..7dc6a57 100644
--- a/src/Workflow/TrackWorkflow.cpp
+++ b/src/Workflow/TrackWorkflow.cpp
@@ -194,7 +194,7 @@ TrackWorkflow::removeClip( const QUuid& id )
{
auto clip = it.value();
auto track = trackFromFormats( clip->formats() );
- track->remove( track->clipIndexAt( it.key() ) );
+ track->replaceWithBlank( track->clipIndexAt( it.key() ) );
m_clips.erase( it );
clip->disconnect( this );
return clip;
More information about the Vlmc-devel
mailing list