summaryrefslogtreecommitdiffstats
path: root/gst/matroska/ebml-write.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-11-01 12:35:39 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-11-01 12:35:39 +0000
commit7d9dd13c6e11c0e8be2906b41d23103bf6a83200 (patch)
treee24b3e2223eb1da284ff5ae8391024b7a9e94995 /gst/matroska/ebml-write.h
parent2778e393c67c6282e4d785725119f3db1dd6afee (diff)
gst/matroska/: Set timestamps on outgoing ebml headers as well, so that the element after matroskamux can get the tim...
Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * gst/matroska/ebml-write.c: (gst_ebml_write_new), (gst_ebml_write_reset), (gst_ebml_write_element_new): * gst/matroska/ebml-write.h: * gst/matroska/matroska-mux.c: (gst_matroska_mux_write_data): Set timestamps on outgoing ebml headers as well, so that the element after matroskamux can get the timestamp already when reading the first ebml element and doesn't have to wait for the actual data buffer for that (#320308).
Diffstat (limited to 'gst/matroska/ebml-write.h')
-rw-r--r--gst/matroska/ebml-write.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/matroska/ebml-write.h b/gst/matroska/ebml-write.h
index 01a99929..b579d8b2 100644
--- a/gst/matroska/ebml-write.h
+++ b/gst/matroska/ebml-write.h
@@ -46,6 +46,7 @@ typedef struct _GstEbmlWrite {
GstPad *srcpad;
guint64 pos;
+ GstClockTime timestamp;
GstBuffer *cache;
guint cache_size;