On Thu, Jul 4, 2013 at 4:35 AM, Maksym Veremeyenko <[email protected]> wrote:
> Hi,
>
> if option audio_index=all is specified for producer avformat it do not
> update samplerate. as result playback 44100 audio track is going faster and
> audio resampler do not activated.
>
> attached patch should fix this behavior
This change contradicts the determination of frequency that appears
earlier in the function:
if ( self->audio_index == INT_MAX )
...
*frequency = FFMAX( self->max_frequency, *frequency );
Elsewhere, self->max_frequency is set to the highest sample rate while
enumerating audio tracks. Perhaps the more correct change is to change
that line to simply:
*frequency = self->max_frequency;
Can you test how that change works for you?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel