mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
gst/qtdemux/qtdemux.c: Use audio/x-qdm for caps. Collect some info - mplayer has a decoder for it but ffmpeg does not.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: Use audio/x-qdm for caps. Collect some info - mplayer has a decoder for it but ffmpeg does not.
This commit is contained in:
parent
1a9699c487
commit
dfd580b207
2 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-08-06 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst/qtdemux/qtdemux.c:
|
||||||
|
Use audio/x-qdm for caps. Collect some info - mplayer has a decoder
|
||||||
|
for it but ffmpeg does not.
|
||||||
|
|
||||||
2008-08-05 Stefan Kost <ensonic@users.sf.net>
|
2008-08-05 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/wavparse/gstwavparse.c:
|
* gst/wavparse/gstwavparse.c:
|
||||||
|
|
|
@ -3606,6 +3606,15 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
||||||
gst_qtdemux_handle_esds (qtdemux, stream, esds, list);
|
gst_qtdemux_handle_esds (qtdemux, stream, esds, list);
|
||||||
} else {
|
} else {
|
||||||
switch (fourcc) {
|
switch (fourcc) {
|
||||||
|
#if 0
|
||||||
|
/* FIXME: what is in the chunk? */
|
||||||
|
case FOURCC_QDMC:
|
||||||
|
{
|
||||||
|
gint len = QT_UINT32 (stsd_data);
|
||||||
|
/* seems to be always = 116 = 0x74 */
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
case FOURCC_QDM2:
|
case FOURCC_QDM2:
|
||||||
{
|
{
|
||||||
gint len = QT_UINT32 (stsd_data);
|
gint len = QT_UINT32 (stsd_data);
|
||||||
|
@ -4778,6 +4787,10 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
caps = gst_caps_new_simple ("audio/mpeg",
|
caps = gst_caps_new_simple ("audio/mpeg",
|
||||||
"mpegversion", G_TYPE_INT, 4, "framed", G_TYPE_BOOLEAN, TRUE, NULL);
|
"mpegversion", G_TYPE_INT, 4, "framed", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||||
break;
|
break;
|
||||||
|
case GST_MAKE_FOURCC ('Q', 'D', 'M', 'C'):
|
||||||
|
_codec ("QDesign Music");
|
||||||
|
caps = gst_caps_new_simple ("audio/x-qdm", NULL);
|
||||||
|
break;
|
||||||
case GST_MAKE_FOURCC ('Q', 'D', 'M', '2'):
|
case GST_MAKE_FOURCC ('Q', 'D', 'M', '2'):
|
||||||
_codec ("QDesign Music v.2");
|
_codec ("QDesign Music v.2");
|
||||||
/* FIXME: QDesign music version 2 (no constant) */
|
/* FIXME: QDesign music version 2 (no constant) */
|
||||||
|
@ -4813,8 +4826,6 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
break;
|
break;
|
||||||
case GST_MAKE_FOURCC ('q', 't', 'v', 'r'):
|
case GST_MAKE_FOURCC ('q', 't', 'v', 'r'):
|
||||||
/* ? */
|
/* ? */
|
||||||
case GST_MAKE_FOURCC ('Q', 'D', 'M', 'C'):
|
|
||||||
/* QDesign music */
|
|
||||||
case GST_MAKE_FOURCC ('Q', 'c', 'l', 'p'):
|
case GST_MAKE_FOURCC ('Q', 'c', 'l', 'p'):
|
||||||
/* QUALCOMM PureVoice */
|
/* QUALCOMM PureVoice */
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue