]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_consumer.c
Add mlt_audio_u8 (sourceforce-182).
[mlt] / src / framework / mlt_consumer.c
index 2a350a76abf8ecf4e529bfdcd2d9cee93a9b3bb3..652354320ef6bd7178e11d3a79cf9697b0d77e60 100644 (file)
@@ -669,6 +669,8 @@ static void *consumer_read_ahead_thread( void *arg )
                        afmt = mlt_audio_float;
                else if ( !strcmp( format, "f32le" ) )
                        afmt = mlt_audio_f32le;
+               else if ( !strcmp( format, "u8" ) )
+                       afmt = mlt_audio_u8;
        }
        int counter = 0;
        double fps = mlt_properties_get_double( properties, "fps" );