mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-14 10:18:29 +00:00
ext/a52dec/gsta52dec.c: mark audio/a52, audio/ac3 as deprecated in a comment
Original commit message from CVS: * ext/a52dec/gsta52dec.c : mark audio/a52, audio/ac3 as deprecated in a comment * gst/ac3parse/gstac3parse.c : audio/ac3 => audio/x-ac3 * gst/realmedia/rmdemux.c : audio/a52 => audio/x-ac3
This commit is contained in:
parent
b26be97d64
commit
bc53aedfb3
|
@ -3,6 +3,9 @@
|
|||
* gst/law/alaw.c : alawdec should be registered with type ALAWDEC, not ALAWENC
|
||||
* gst/law/alaw-decode.c : put audio/x-alaw on pads, instead of audio/x-mulaw
|
||||
* gst/law/alaw-encode.c : (idem)
|
||||
* ext/a52dec/gsta52dec.c : mark audio/a52, audio/ac3 as deprecated in a comment
|
||||
* gst/ac3parse/gstac3parse.c : audio/ac3 => audio/x-ac3
|
||||
* gst/realmedia/rmdemux.c : audio/a52 => audio/x-ac3
|
||||
|
||||
2004-05-09 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
|
|
|
@ -56,8 +56,8 @@ enum
|
|||
};
|
||||
|
||||
/*
|
||||
* "audio/a52" and "audio/ac3" are the same format. The name
|
||||
* "ac3" is now deprecated and should not be used in new code.
|
||||
* "audio/a52", "audio/x-a52" and "audio/ac3" should not be used (deprecated names)
|
||||
* Only use "audio/x-ac3" in new code.
|
||||
*/
|
||||
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
|
|
@ -99,7 +99,7 @@ static GstStaticPadTemplate gst_ac3parse_src_template =
|
|||
GST_STATIC_PAD_TEMPLATE ("src",
|
||||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/ac3, "
|
||||
GST_STATIC_CAPS ("audio/x-ac3, "
|
||||
"channels = (int) [ 1, 6 ], " "rate = (int) [ 32000, 48000 ]")
|
||||
);
|
||||
|
||||
|
|
|
@ -520,7 +520,7 @@ gst_rmdemux_add_stream (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
|
|||
gst_pad_new_from_template (gst_static_pad_template_get
|
||||
(&gst_rmdemux_audiosrc_template), g_strdup_printf ("audio_%02d",
|
||||
rmdemux->n_audio_streams));
|
||||
stream->caps = gst_caps_new_simple ("audio/a52", NULL);
|
||||
stream->caps = gst_caps_new_simple ("audio/x-ac3", NULL);
|
||||
gst_caps_set_simple (stream->caps,
|
||||
"rate", G_TYPE_INT, (int) stream->rate,
|
||||
"channels", G_TYPE_INT, stream->n_channels, NULL);
|
||||
|
|
Loading…
Reference in a new issue