X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_frame.c;h=914ef854b7f808de8deaa031e5d7cb0e22811b31;hb=1e55d8082c842d4ae2d718eb2675719eeb615c0c;hp=dcd5ec7557960b8aebb51597a0929f9cd50176b7;hpb=7261f622acf6477b5b39ddd677111ca433cd7cd9;p=melted diff --git a/src/framework/mlt_frame.c b/src/framework/mlt_frame.c index dcd5ec7..914ef85 100644 --- a/src/framework/mlt_frame.c +++ b/src/framework/mlt_frame.c @@ -267,6 +267,7 @@ int mlt_frame_get_image( mlt_frame this, uint8_t **buffer, mlt_image_format *for if ( get_image != NULL ) { + mlt_properties_set_int( properties, "image_count", mlt_properties_get_int( properties, "image_count" ) - 1 ); mlt_position position = mlt_frame_get_position( this ); error = get_image( this, buffer, format, width, height, writable ); mlt_frame_set_position( this, position ); @@ -1020,6 +1021,7 @@ int mlt_frame_mix_audio( mlt_frame this, mlt_frame that, float weight_start, flo return ret; } +/* Will this break when mlt_position is converted to double? -Zach */ int mlt_sample_calculator( float fps, int frequency, int64_t position ) { int samples = 0;