summaryrefslogtreecommitdiff
path: root/gst/qtmux/atoms.h
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2009-11-06 10:34:39 -0300
committerThiago Sousa Santos <thiagoss@redmoon.(none)>2009-11-17 23:04:53 -0300
commit1d155a6357f3e42786ffdb75c65274e82bed15c6 (patch)
tree2f9e95d7bcecc14810f6666cbcc0e5abb9ca62aa /gst/qtmux/atoms.h
parent1f7626f2f58bf587b461bd6f4fd6b3d650203385 (diff)
qtmux: handle 'late' streams
When muxing streams, some can start later than others. qtmux now handle this by adding an empty edts entry with the duration of the 'lateness' to the stream's trak. It tolerates a stream to be up to 0.1s late. Fixes #586848
Diffstat (limited to 'gst/qtmux/atoms.h')
-rw-r--r--gst/qtmux/atoms.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/qtmux/atoms.h b/gst/qtmux/atoms.h
index 6c4b2790c..07efef5dc 100644
--- a/gst/qtmux/atoms.h
+++ b/gst/qtmux/atoms.h
@@ -611,6 +611,8 @@ AtomTRAK* atom_trak_new (AtomsContext *context);
void atom_trak_add_samples (AtomTRAK * trak, guint32 nsamples, guint32 delta,
guint32 size, guint64 chunk_offset, gboolean sync,
gboolean do_pts, gint64 pts_offset);
+void atom_trak_add_elst_entry (AtomTRAK * trak, guint32 duration,
+ guint32 media_time, guint32 rate);
guint32 atom_trak_get_timescale (AtomTRAK *trak);
AtomMOOV* atom_moov_new (AtomsContext *context);