]> git.sesse.net Git - mlt/commitdiff
Fix the audio properties set on the frame within get_frame().
authorDan Dennedy <dan@dennedy.org>
Sat, 22 Dec 2012 19:49:15 +0000 (11:49 -0800)
committerDan Dennedy <dan@dennedy.org>
Sat, 22 Dec 2012 19:49:15 +0000 (11:49 -0800)
src/modules/avformat/producer_avformat.c

index 983998b93f29b1f3812d0adc0b8ac7ba755a01ae..53db3ce31d251430b7ee20c46d679b50dd951d8f 100644 (file)
@@ -2683,8 +2683,8 @@ static void producer_set_up_audio( producer_avformat self, mlt_frame frame )
                // Set the frame properties
                if ( index < MAX_AUDIO_STREAMS )
                {
-                       mlt_properties_set_int( frame_properties, "frequency", self->audio_codec[ index ]->sample_rate );
-                       mlt_properties_set_int( frame_properties, "channels", self->audio_codec[ index ]->channels );
+                       mlt_properties_set_int( frame_properties, "audio_frequency", self->audio_codec[ index ]->sample_rate );
+                       mlt_properties_set_int( frame_properties, "audio_channels", self->audio_codec[ index ]->channels );
                }
        }
        if ( context && index > -1 )