gst-libs/gst/riff/riff-media.c: generate caps for ATRAC3 audio streams

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
generate caps for ATRAC3 audio streams

* gst/realmedia/rmdemux.c:
generate caps for ATRAC3 audio streams
This commit is contained in:
Stéphane Loeuillet 2004-10-06 14:18:13 +00:00
parent dd7cb2bded
commit 2ff1cbabe5
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2004-10-06 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
* gst-libs/gst/riff/riff-media.c:
generate caps for ATRAC3 audio streams
* gst/realmedia/rmdemux.c:
generate caps for ATRAC3 audio streams
2004-10-06 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
* gst/wavparse/Makefile.am

View file

@ -476,6 +476,12 @@ gst_riff_create_audio_caps_with_data (guint16 codec_id,
}
break;
}
case GST_RIFF_WAVE_FORMAT_SONY_ATRAC3:
caps = gst_caps_new_simple ("audio/x-vnd.sony.atrac3", NULL);
if (codec_name)
*codec_name = g_strdup ("Sony ATRAC3");
break;
default:
GST_WARNING ("Unknown audio tag 0x%04x", codec_id);
return NULL;