[vlmc-devel] commit: ClipHelper: Fixing resize boundaries. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Thu Aug 26 23:51:30 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Aug 26 23:47:25 2010 +0200| [1cd61f03dba6c1aa5985ea7f82a16409fb105ba9] | committer: Hugo Beauzée-Luyssen
ClipHelper: Fixing resize boundaries.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=1cd61f03dba6c1aa5985ea7f82a16409fb105ba9
---
src/Workflow/ClipHelper.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Workflow/ClipHelper.cpp b/src/Workflow/ClipHelper.cpp
index 07d716f..9a31570 100644
--- a/src/Workflow/ClipHelper.cpp
+++ b/src/Workflow/ClipHelper.cpp
@@ -44,7 +44,7 @@ ClipHelper::ClipHelper( Clip* clip, qint64 begin /*= -1*/, qint64 end /*= -1*/,
void
ClipHelper::setBegin( qint64 begin )
{
- if ( begin <= m_clip->m_begin )
+ if ( begin < m_clip->m_begin )
return ;
m_begin = begin;
emit lengthUpdated();
@@ -53,7 +53,7 @@ ClipHelper::setBegin( qint64 begin )
void
ClipHelper::setEnd( qint64 end )
{
- if ( end >= m_clip->m_end )
+ if ( end > m_clip->m_end )
return ;
m_end = end;
emit lengthUpdated();
More information about the Vlmc-devel
mailing list