}
static AtomInfo *
-build_pasp_extension (AtomTRAK * trak, gint par_width, gint par_height)
+build_pasp_extension (gint par_width, gint par_height)
{
AtomData *atom_data = atom_data_new (FOURCC_pasp);
guint8 *data;
/* QT spec has a pasp extension atom in stsd that can hold PAR */
if (par_n && (context->flavor == ATOMS_TREE_FLAVOR_MOV)) {
ste->extension_atoms = g_list_append (ste->extension_atoms,
- build_pasp_extension (trak, par_n, par_d));
+ build_pasp_extension (par_n, par_d));
}
return ste;
}
AtomInfo *
-build_mov_alac_extension (AtomTRAK * trak, const GstBuffer * codec_data)
+build_mov_alac_extension (const GstBuffer * codec_data)
{
AtomInfo *alac;
}
AtomInfo *
-build_jp2h_extension (AtomTRAK * trak, gint width, gint height,
- const gchar * colorspace, gint ncomp, const GValue * cmap_array,
- const GValue * cdef_array)
+build_jp2h_extension (gint width, gint height, const gchar * colorspace,
+ gint ncomp, const GValue * cmap_array, const GValue * cdef_array)
{
AtomData *atom_data;
GstBuffer *buf;
AtomInfo * build_codec_data_extension (guint32 fourcc, const GstBuffer * codec_data);
AtomInfo * build_mov_aac_extension (AtomTRAK * trak, const GstBuffer * codec_data,
guint32 avg_bitrate, guint32 max_bitrate);
-AtomInfo * build_mov_alac_extension (AtomTRAK * trak, const GstBuffer * codec_data);
+AtomInfo * build_mov_alac_extension (const GstBuffer * codec_data);
AtomInfo * build_esds_extension (AtomTRAK * trak, guint8 object_type,
guint8 stream_type, const GstBuffer * codec_data,
guint32 avg_bitrate, guint32 max_bitrate);
AtomInfo * build_btrt_extension (guint32 buffer_size_db, guint32 avg_bitrate,
guint32 max_bitrate);
-AtomInfo * build_jp2h_extension (AtomTRAK * trak, gint width, gint height,
- const gchar *colorspace, gint ncomp,
- const GValue * cmap_array,
+AtomInfo * build_jp2h_extension (gint width, gint height, const gchar *colorspace,
+ gint ncomp, const GValue * cmap_array,
const GValue * cdef_array);
AtomInfo * build_jp2x_extension (const GstBuffer * prefix);
GST_WARNING_OBJECT (qtmux, "unexpected codec-data size, possibly broken");
}
if (format == GST_QT_MUX_FORMAT_QT)
- ext_atom = build_mov_alac_extension (qtpad->trak, codec_config);
+ ext_atom = build_mov_alac_extension (codec_config);
else
ext_atom = build_codec_data_extension (FOURCC_alac, codec_config);
/* set some more info */
colorspace = gst_structure_get_string (structure, "colorspace");
if (colorspace &&
(ext_atom =
- build_jp2h_extension (qtpad->trak, width, height, colorspace, ncomp,
- cmap_array, cdef_array)) != NULL) {
+ build_jp2h_extension (width, height, colorspace, ncomp, cmap_array,
+ cdef_array)) != NULL) {
ext_atom_list = g_list_append (ext_atom_list, ext_atom);
ext_atom = build_fiel_extension (fields);