mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
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...
This commit is contained in:
parent
b34d003bfe
commit
c92678bb20
2 changed files with 8 additions and 4 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue