}
break;
+ case CODEC_ID_MP1:
+ /* FIXME: bitrate */
+ caps = gst_ff_aud_caps_new (context, codec_id, "audio/mpeg",
+ "mpegversion", G_TYPE_INT, 1, "layer", G_TYPE_INT, 1, NULL);
+ break;
+
case CODEC_ID_MP2:
/* FIXME: bitrate */
caps = gst_ff_aud_caps_new (context, codec_id, "audio/mpeg",
}
break;
- case CODEC_ID_MLP:
- caps = gst_ff_aud_caps_new (context, codec_id, "audio/x-mlp", NULL);
- break;
+ case CODEC_ID_MLP:
+ caps = gst_ff_aud_caps_new (context, codec_id, "audio/x-mlp", NULL);
+ break;
- case CODEC_ID_IMC:
- caps = gst_ff_aud_caps_new (context, codec_id, "audio/x-imc", NULL);
- break;
+ case CODEC_ID_IMC:
+ caps = gst_ff_aud_caps_new (context, codec_id, "audio/x-imc", NULL);
+ break;
/* MJPEG is normal JPEG, Motion-JPEG and Quicktime MJPEG-A. MJPEGB
* is Quicktime's MJPEG-B. LJPEG is lossless JPEG. I don't know what
case CODEC_ID_ADPCM_IMA_WS:
case CODEC_ID_ADPCM_IMA_SMJPEG:
case CODEC_ID_ADPCM_IMA_AMV:
+ case CODEC_ID_ADPCM_IMA_ISS:
case CODEC_ID_ADPCM_MS:
case CODEC_ID_ADPCM_4XM:
case CODEC_ID_ADPCM_XA:
case CODEC_ID_ADPCM_IMA_AMV:
layout = "amv";
break;
+ case CODEC_ID_ADPCM_IMA_ISS:
+ layout = "iss";
+ break;
case CODEC_ID_ADPCM_MS:
layout = "microsoft";
break;
CODEC_ID_H264,
CODEC_ID_NONE
};
- static enum CodecID mpeg_audio_list[] = { CODEC_ID_MP2,
+ static enum CodecID mpeg_audio_list[] = { CODEC_ID_MP1,
+ CODEC_ID_MP2,
CODEC_ID_MP3,
CODEC_ID_NONE
};
if (gst_structure_get_int (structure, "layer", &layer)) {
switch (layer) {
case 1:
+ id = CODEC_ID_MP1;
+ break;
case 2:
id = CODEC_ID_MP2;
break;
id = CODEC_ID_ADPCM_IMA_DK4;
} else if (!strcmp (layout, "westwood")) {
id = CODEC_ID_ADPCM_IMA_WS;
+ } else if (!strcmp (layout, "iss")) {
+ id = CODEC_ID_ADPCM_IMA_ISS;
} else if (!strcmp (layout, "xa")) {
id = CODEC_ID_ADPCM_XA;
} else if (!strcmp (layout, "adx")) {
/* no codecs for which we're GUARANTEED to have better alternatives */
/* MPEG1VIDEO : the mpeg2video decoder is preferred */
+ /* MP1 : Use MP3 for decoding */
/* MP2 : Use MP3 for decoding */
if (!strcmp (in_plugin->name, "gif") ||
!strcmp (in_plugin->name, "vorbis") ||
!strcmp (in_plugin->name, "mpeg1video") ||
!strcmp (in_plugin->name, "wavpack") ||
+ !strcmp (in_plugin->name, "mp1") ||
!strcmp (in_plugin->name, "mp2") ||
!strcmp (in_plugin->name, "libfaad") ||
!strcmp (in_plugin->name, "mpeg4aac")) {