Commit c92678bb authored by Ronald S. Bultje's avatar Ronald S. Bultje

Re-enable realaudio codecs, improve decoder naming and add mpeg2aac decoder......

Re-enable realaudio codecs, improve decoder naming and add mpeg2aac decoder... Now to find out why it still doesn't l...

Original commit message from CVS:
Re-enable realaudio codecs, improve decoder naming and add mpeg2aac decoder... Now to find out why it still doesn't list itself after gst-register'ing...
parent b34d003b
......@@ -305,7 +305,11 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
break;
case CODEC_ID_AAC:
/* .. */
caps = GST_FF_AUD_CAPS_NEW ("ffmpeg_mpeg2aac",
"audio/mpeg",
"systemstream", GST_PROPS_BOOLEAN (FALSE),
"mpegversion", GST_PROPS_INT (2)
);
break;
case CODEC_ID_MPEG4AAC:
......@@ -433,7 +437,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
/* .. */
break;
/*case CODEC_ID_RA_144:
case CODEC_ID_RA_144:
caps = GST_FF_AUD_CAPS_NEW ("ffmpeg_realaudio_144",
"audio/x-pn-realaudio",
"bitrate", GST_PROPS_INT (14400)
......@@ -445,7 +449,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
"audio/x-pn-realaudio",
"bitrate", GST_PROPS_INT (28800)
);
break;*/
break;
default:
/* .. */
......
......@@ -469,7 +469,7 @@ gst_ffmpegdec_register (GstPlugin *plugin)
/* construct the element details struct */
details = g_new0 (GstElementDetails, 1);
details->longname = g_strdup(in_plugin->name);
details->longname = g_strdup_printf("FFMPEG %s decoder", in_plugin->name);
details->klass = g_strdup_printf("Codec/%s/Decoder",
(in_plugin->type == CODEC_TYPE_VIDEO) ?
"Video" : "Audio");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment