Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
951e98ad
Commit
951e98ad
authored
May 26, 2009
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected Clip::getLength()
Was returning -1 everytime...
parent
3454cf1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Clip.cpp
src/Clip.cpp
+1
-1
No files found.
src/Clip.cpp
View file @
951e98ad
...
@@ -68,7 +68,7 @@ qint64 Clip::getLength() const
...
@@ -68,7 +68,7 @@ qint64 Clip::getLength() const
void
Clip
::
computeLength
()
void
Clip
::
computeLength
()
{
{
if
(
m_
begin
==
Clip
::
UntilEndOfMedia
)
if
(
m_
end
==
Clip
::
UntilEndOfMedia
)
m_length
=
m_parent
->
getLength
()
-
m_begin
;
m_length
=
m_parent
->
getLength
()
-
m_begin
;
else
else
m_length
=
m_end
-
m_begin
;
m_length
=
m_end
-
m_begin
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment