mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
asfmux: don't set the 'seekable' flag if we are streaming
Fixes #618522
This commit is contained in:
parent
2a94798136
commit
40209aa30f
1 changed files with 5 additions and 2 deletions
|
@ -848,8 +848,11 @@ gst_asf_mux_write_extended_stream_properties (GstAsfMux * asfmux, guint8 ** buf,
|
||||||
/* TODO check if audio is seekable */
|
/* TODO check if audio is seekable */
|
||||||
GST_WRITE_UINT32_LE (*buf + 68, 0x0);
|
GST_WRITE_UINT32_LE (*buf + 68, 0x0);
|
||||||
} else {
|
} else {
|
||||||
/* video has indexes, so it is seekable */
|
/* video has indexes, so it is seekable unless we are streaming */
|
||||||
GST_WRITE_UINT32_LE (*buf + 68, 0x2);
|
if (asfmux->prop_is_live)
|
||||||
|
GST_WRITE_UINT32_LE (*buf + 68, 0x0);
|
||||||
|
else
|
||||||
|
GST_WRITE_UINT32_LE (*buf + 68, 0x2);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_WRITE_UINT16_LE (*buf + 72, asfpad->stream_number);
|
GST_WRITE_UINT16_LE (*buf + 72, asfpad->stream_number);
|
||||||
|
|
Loading…
Reference in a new issue