projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Makefile error handling and consumer avformat cleanup
[melted]
/
src
/
framework
/
mlt_frame.c
diff --git
a/src/framework/mlt_frame.c
b/src/framework/mlt_frame.c
index
4d58232
..
ba33172
100644
(file)
--- a/
src/framework/mlt_frame.c
+++ b/
src/framework/mlt_frame.c
@@
-729,7
+729,7
@@
int mlt_sample_calculator( float fps, int frequency, int64_t position )
{
int samples = 0;
- if ( fps > 29 && fps <= 30 )
+ if ( ( int )( fps * 100 ) == 2997 )
{
samples = frequency / 30;