asfmux: don't set the 'seekable' flag if we are streaming

Fixes #618522
This commit is contained in:
Andoni Morales Alastruey 2010-05-13 12:15:27 +02:00 committed by Thiago Santos
parent 2a94798136
commit 40209aa30f

View file

@ -848,7 +848,10 @@ gst_asf_mux_write_extended_stream_properties (GstAsfMux * asfmux, guint8 ** buf,
/* TODO check if audio is seekable */
GST_WRITE_UINT32_LE (*buf + 68, 0x0);
} else {
/* video has indexes, so it is seekable */
/* video has indexes, so it is seekable unless we are streaming */
if (asfmux->prop_is_live)
GST_WRITE_UINT32_LE (*buf + 68, 0x0);
else
GST_WRITE_UINT32_LE (*buf + 68, 0x2);
}