The new switch caused breaks to not break of the main switch
anymore, causing fall through.
* GST_SECOND, src->info.fps_d, src->info.fps_n);
res = TRUE;
gst_query_set_duration (query, GST_FORMAT_TIME, dur);
* GST_SECOND, src->info.fps_d, src->info.fps_n);
res = TRUE;
gst_query_set_duration (query, GST_FORMAT_TIME, dur);
gst_query_set_duration (query, GST_FORMAT_BYTES,
bsrc->num_buffers * src->info.size);
gst_query_set_duration (query, GST_FORMAT_BYTES,
bsrc->num_buffers * src->info.size);
res = GST_BASE_SRC_CLASS (parent_class)->query (bsrc, query);
break;
}
res = GST_BASE_SRC_CLASS (parent_class)->query (bsrc, query);
break;
}