+2004-09-15 Arwed v. Merkatz <v.merkatz@gmx.net>
+
+ * gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
+ * gst/matroska/matroska-mux.c: (audiosink_templ),
+ (gst_matroska_mux_audio_pad_link):
+ * gst/typefind/gsttypefindfunctions.c: (tta_caps), (plugin_init):
+ Use audio/x-ttafile for tta files and audio/x-tta for raw tta frames.
+
2004-09-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
gchar *matroska_tagname;
gchar *gstreamer_tagname;
}
- tag_conv[] =
- {
+ tag_conv[] = {
{
GST_MATROSKA_TAG_ID_TITLE, GST_TAG_TITLE}
, {
for (i = 0; tag_conv[i].matroska_tagname != NULL; i++) {
if (!strcmp (tag_conv[i].matroska_tagname, tag)) {
GValue src = { 0 }
- , dest =
- {
+ , dest = {
0};
const gchar *type = tag_conv[i].gstreamer_tagname;
GType dest_type = gst_tag_get_type (type);
"mpegversion", G_TYPE_INT, mpegversion, NULL);
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_AUDIO_TTA)) {
if (audiocontext != NULL) {
- caps = gst_caps_new_simple ("audio/x-raw-tta",
+ caps = gst_caps_new_simple ("audio/x-tta",
"width", G_TYPE_INT, audiocontext->bitdepth, NULL);
} else {
- caps = gst_caps_from_string ("audio/x-raw-tta, "
+ caps = gst_caps_from_string ("audio/x-tta, "
"width = (int) { 8, 16, 24 }");
}
} else {
/* TODO: Real/Quicktime */
/* FILLME */
NULL,
- }, *audio_id[] =
- {
+ }, *audio_id[] = {
GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L1,
GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L2,
GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L3,
"endianness = (int) { BIG_ENDIAN, LITTLE_ENDIAN }, "
"signed = (boolean) { true, false }, "
COMMON_AUDIO_CAPS ";"
- "audio/x-raw-tta, "
+ "audio/x-tta, "
"width = (int) { 8, 16, 24 }, "
"channels = (int) { 1, 2 }, " "rate = (int) [ 8000, 96000 ]")
);
context->codec_id = g_strdup (GST_MATROSKA_CODEC_ID_AUDIO_AC3);
return GST_PAD_LINK_OK;
- } else if (!strcmp (mimetype, "audio/x-raw-tta")) {
+ } else if (!strcmp (mimetype, "audio/x-tta")) {
gint width;
/* TTA frame duration */