[gst-devel] IEC958 caps

pl bossart bossart.nospam at gmail.com
Tue Oct 12 15:04:25 CEST 2010


> Maybe we could consider that it's the application's role to check with HDMI
> EDID what's supported and decide which streams will be passed through using
> SPDIF and which others need to be decoded completely with software decoding
> ?
> At least that's what I m planning to do with Moovida in the near future.

Lucky you, you have control on your own application. For others, where
there are several layers and gstreamer is used as a back-end and isn't
even known to the application, you will have to dynamically configure
the pipeline using the autoconvert element (Credits to Stefam Kost for
the idea). You would first try and connect with S/PDIF, and if the
sink declines then you modify the caps of the sink to take PCM only.
Autoconvert would then instantiate a sw decoder instead of an iec958
formatter.
Still we are lacking a means to pass the payload type for the sink to
make an educated decision. We also miss a good way to get the EDID
information, there's no real ALSA API to get what formats are
supported.
-Pierre




More information about the gstreamer-devel mailing list