audio: Trivial comment for unhandled MPEG-2 payloading case

The spec mentions a version of the MPEG-2 frame with a base frame and
extension frame. I don't have IEC 13818-3 to figure out what that is,
and don't see any references in search results, so it's a FIXME for now.

https://bugzilla.gnome.org/show_bug.cgi?id=736797
This commit is contained in:
Arun Raghavan 2014-09-24 20:38:31 +05:30
parent 2965b796bc
commit 324ebd19e3

View file

@ -276,7 +276,8 @@ gst_audio_iec61937_payload (const guint8 * src, guint src_n, guint8 * dst,
* 06 = MPEG 2, with extension * 06 = MPEG 2, with extension
* 08 - MPEG 2 LSF, Layer 1 * 08 - MPEG 2 LSF, Layer 1
* 09 - MPEG 2 LSF, Layer 2 * 09 - MPEG 2 LSF, Layer 2
* 10 - MPEG 2 LSF, Layer 3 */ * 10 - MPEG 2 LSF, Layer 3
* FIXME: we don't handle type 06 at the moment */
if (version == 1 && layer == 1) if (version == 1 && layer == 1)
dst[five] = 0x04; dst[five] = 0x04;
else if ((version == 1 && (layer == 2 || layer == 3)) || else if ((version == 1 && (layer == 2 || layer == 3)) ||