atom_trak_get_timescale (pad->trak), GST_SECOND);
pts_offset = (gint64) (pts - last_dts);
do_pts = TRUE;
- GST_ERROR_OBJECT (qtmux, "Adding ctts entry for pad %s: %" G_GINT64_FORMAT,
+ GST_LOG_OBJECT (qtmux, "Adding ctts entry for pad %s: %" G_GINT64_FORMAT,
GST_PAD_NAME (pad->collect.pad), pts_offset);
}
GstQTMuxFormat format;
AtomInfo *ext_atom = NULL;
gboolean sync = FALSE;
+ int par_num, par_den;
/* find stream data */
qtpad = (GstQTPad *) gst_pad_get_element_private (pad);
if (value != NULL)
codec_data = gst_value_get_buffer (value);
+ par_num = 1;
+ par_den = 1;
+ gst_structure_get_fraction (structure, "pixel-aspect-ratio", &par_num,
+ &par_den);
/* FIXME: pixel-aspect-ratio */
qtpad->is_out_of_order = FALSE;