diff options
author | Andoni Morales Alastruey <amorales@flumotion.com> | 2010-04-29 10:46:49 +0200 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-06-08 14:50:22 -0300 |
commit | 2a94798136cef02a55f8032a939565c9487a1e9e (patch) | |
tree | 88762d7c89f40e1e4076a3ddcfc86f87c6b8870d | |
parent | 003949422786af7652925bdf7d6f0c252dcf61ec (diff) |
asfmux: write preroll info in the header at initialization
This value doesn't need to be updated and is usefull in a streaming context
Fixes #618522
-rw-r--r-- | gst/asfmux/gstasfmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/asfmux/gstasfmux.c b/gst/asfmux/gstasfmux.c index cb070e782..37e4c83ad 100644 --- a/gst/asfmux/gstasfmux.c +++ b/gst/asfmux/gstasfmux.c @@ -675,7 +675,7 @@ gst_asf_mux_write_file_properties (GstAsfMux * asfmux, guint8 ** buf) GST_WRITE_UINT64_LE (*buf + 56, 0); /* data packets - needs update */ GST_WRITE_UINT64_LE (*buf + 64, 0); /* play duration - needs update */ GST_WRITE_UINT64_LE (*buf + 72, 0); /* send duration - needs update */ - GST_WRITE_UINT64_LE (*buf + 80, 0); /* preroll */ + GST_WRITE_UINT64_LE (*buf + 80, asfmux->preroll); /* preroll */ GST_WRITE_UINT32_LE (*buf + 88, 0x1); /* flags - broadcast on */ GST_WRITE_UINT32_LE (*buf + 92, asfmux->packet_size); /* minimum data packet size */ GST_WRITE_UINT32_LE (*buf + 96, asfmux->packet_size); /* maximum data packet size */ |