RFC: allow stream variants in AudioCapsBuilder / VideoCapsBuilder
AudioCapsBuilder
provides new
or default
constructors. Both build internal gst::Caps
with name "audio/x-raw".
It would be convenient to use AudioCapsBuilder
for other stream variants such as "audio/x-flac" or "audio/mpeg", e.g. with another constructor such as for_stream
.
This might also be applicable to VideoCapsBuilder
.