gst-plugins-bad: sfdec: add taglist support

Stefan Sauer ensonic at hora-obscura.de
Mon Dec 30 07:05:42 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/24/2013 05:25 PM, Sebastian Dröge wrote:
> On Fr, 2013-12-20 at 12:19 -0800, Stefan Kost wrote:
>> Module: gst-plugins-bad
>> Branch: master
>> Commit: bf956c487f4d8c6995a43ec635fe59f8e7b8b092
>> URL:   
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=bf956c487f4d8c6995a43ec635fe59f8e7b8b092
>>
>> [...]
>> +  /* TODO: SF_STR_DATE: GST_TAG_DATE / GST_TAG_DATE_TIME */
>> +  /* TODO: calculate bitrate: GST_TAG_BITRATE */
>> +  switch (info.format & SF_FORMAT_SUBMASK) {
>> +    case SF_FORMAT_PCM_S8:
>> +    case SF_FORMAT_PCM_16:
>> +    case SF_FORMAT_PCM_24:
>> +    case SF_FORMAT_PCM_32:
>> +    case SF_FORMAT_PCM_U8:
>> +      codec_name = "Uncompressed PCM audio";
>> [...]
>
> Note that you can also get all (or most?) of these descriptions out of
> pbutils with gst_pb_utils_add_codec_description_to_tag_list()
Yes, but I don't have intermediate caps in this case. libsndfile acts as
a demuxer+decoder combination.

Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLBi8YACgkQITDA+qr9gcwKCQCfc1ZYWgamlaOXhmagQvdykeH5
t+gAn1yb7dCqZz4hRYFSD/VIUc/1FKxy
=xZax
-----END PGP SIGNATURE-----



More information about the gstreamer-devel mailing list