X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fffmpeg%2Fconsumer_ffmpeg.c;h=da1180066f290cf179d7f62bd694f257fd5bb559;hb=42bd0aedb6d3d65bedb98479adcdbaeb326dfee9;hp=11f72b74da26dacc43aa9c7f9cfacf283847c563;hpb=1a50e779cfd5e1bc6a80054f6f56e64280c2dc41;p=melted diff --git a/src/modules/ffmpeg/consumer_ffmpeg.c b/src/modules/ffmpeg/consumer_ffmpeg.c index 11f72b7..da11800 100644 --- a/src/modules/ffmpeg/consumer_ffmpeg.c +++ b/src/modules/ffmpeg/consumer_ffmpeg.c @@ -170,7 +170,7 @@ static int consumer_play_audio( consumer_ffmpeg this, mlt_frame frame, int init_ while ( bytes > ( sizeof( this->audio_buffer) - this->audio_avail ) ) pthread_cond_wait( &this->audio_cond, &this->audio_mutex ); mlt_properties properties = mlt_frame_properties( frame ); - if ( mlt_properties_get_double( properties, "speed" ) == 1 ) + if ( mlt_properties_get_double( properties, "_speed" ) == 1 ) memcpy( &this->audio_buffer[ this->audio_avail ], pcm, bytes ); else memset( &this->audio_buffer[ this->audio_avail ], 0, bytes );