mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
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:
parent
d758670cab
commit
82eacd3599
3 changed files with 19 additions and 2 deletions
|
@ -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>
|
2004-10-06 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||||
|
|
||||||
* gst/wavparse/Makefile.am
|
* gst/wavparse/Makefile.am
|
||||||
|
|
|
@ -476,6 +476,12 @@ gst_riff_create_audio_caps_with_data (guint16 codec_id,
|
||||||
}
|
}
|
||||||
break;
|
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:
|
default:
|
||||||
GST_WARNING ("Unknown audio tag 0x%04x", codec_id);
|
GST_WARNING ("Unknown audio tag 0x%04x", codec_id);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -571,6 +571,11 @@ gst_rmdemux_add_stream (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
|
||||||
(int) 4, NULL);
|
(int) 4, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Sony ATRAC3 */
|
||||||
|
case GST_RM_AUD_ATRC:
|
||||||
|
stream->caps = gst_caps_new_simple ("audio/x-vnd.sony.atrac3", NULL);
|
||||||
|
break;
|
||||||
|
|
||||||
/* RealAudio audio/RALF is lossless */
|
/* RealAudio audio/RALF is lossless */
|
||||||
case GST_RM_AUD_COOK:
|
case GST_RM_AUD_COOK:
|
||||||
case GST_RM_AUD_RALF:
|
case GST_RM_AUD_RALF:
|
||||||
|
@ -578,8 +583,6 @@ gst_rmdemux_add_stream (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
|
||||||
/* Sipro/ACELP-NET Voice Codec */
|
/* Sipro/ACELP-NET Voice Codec */
|
||||||
case GST_RM_AUD_SIPR:
|
case GST_RM_AUD_SIPR:
|
||||||
|
|
||||||
/* Sony ATRAC3 */
|
|
||||||
case GST_RM_AUD_ATRC:
|
|
||||||
GST_WARNING ("Nothing known to decode this audio FOURCC code");
|
GST_WARNING ("Nothing known to decode this audio FOURCC code");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue