projects
/
melted_gui
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
3d15fd2
)
fix equantion of item's duration normalization
author
Maksym Veremeyenko
<verem@m1stereo.tv>
Thu, 6 Oct 2011 10:57:37 +0000 (13:57 +0300)
committer
Maksym Veremeyenko
<verem@m1stereo.tv>
Thu, 6 Oct 2011 10:57:37 +0000 (13:57 +0300)
src/library.c
patch
|
blob
|
history
diff --git
a/src/library.c
b/src/library.c
index
ce0c181
..
62bed43
100644
(file)
--- a/
src/library.c
+++ b/
src/library.c
@@
-83,7
+83,7
@@
int omnplay_library_normalize_item(omnplay_instance_t* app, playlist_item_t* ite
if(!item->dur || (item->in + item->dur) > (lib->in + lib->dur))
{
- item->dur = lib->dur;
+ item->dur = lib->in + lib->dur - item->in;
r++;
};