Commit e9e94a77 authored by Wim Taymans's avatar Wim Taymans Committed by Wim Taymans
Browse files

qtdemux: add support for agsm

Fixes #592530
parent 15d17763
......@@ -4333,6 +4333,15 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
stream->samples_per_frame = 1 * stream->n_channels;
break;
}
case FOURCC_agsm:
{
stream->samples_per_packet = 160;
stream->bytes_per_packet = 33;
stream->bytes_per_frame = 33 * stream->n_channels;
stream->bytes_per_sample = 2;
stream->samples_per_frame = 160 * stream->n_channels;
break;
}
default:
break;
}
......
......@@ -144,6 +144,7 @@ G_BEGIN_DECLS
#define FOURCC_ctts GST_MAKE_FOURCC('c','t','t','s')
#define FOURCC_keyw GST_MAKE_FOURCC('k','e','y','w')
#define FOURCC_kywd GST_MAKE_FOURCC('k','y','w','d')
#define FOURCC_agsm GST_MAKE_FOURCC('a','g','s','m')
/* 3gpp asset meta data fourcc */
#define FOURCC_titl GST_MAKE_FOURCC('t','i','t','l')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment