// Get the number of streams and add the information of each of them if it is an audio stream.
int streams = producer->get_int("meta.media.nb_streams");
for (int i = 0; i < streams; ++i) {
// Get the number of streams and add the information of each of them if it is an audio stream.
int streams = producer->get_int("meta.media.nb_streams");
for (int i = 0; i < streams; ++i) {
const char* streamtype = producer->get(propertyName.data());
if (streamtype && strcmp("audio", streamtype) == 0) {
m_list << new AudioStreamInfo(producer, i);
const char* streamtype = producer->get(propertyName.data());
if (streamtype && strcmp("audio", streamtype) == 0) {
m_list << new AudioStreamInfo(producer, i);