mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
isomp4: actually make streamable fallback work
We weren't setting the fragment_mode field anymore now that the implementation doesn't change based on the value of the streamable property. This lead to invalid files. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1060>
This commit is contained in:
parent
d806486503
commit
0d27e6f86e
1 changed files with 8 additions and 5 deletions
|
@ -3077,11 +3077,14 @@ gst_qt_mux_start_file (GstQTMux * qtmux)
|
||||||
if (qtmux->fragment_mode == GST_QT_MUX_FRAGMENT_STREAMABLE)
|
if (qtmux->fragment_mode == GST_QT_MUX_FRAGMENT_STREAMABLE)
|
||||||
break;
|
break;
|
||||||
if (!qtmux->downstream_seekable) {
|
if (!qtmux->downstream_seekable) {
|
||||||
|
if (qtmux->fragment_mode == GST_QT_MUX_FRAGMENT_DASH_OR_MSS) {
|
||||||
GST_WARNING_OBJECT (qtmux, "downstream is not seekable, but "
|
GST_WARNING_OBJECT (qtmux, "downstream is not seekable, but "
|
||||||
"streamable=false. Will ignore that and create streamable output "
|
"streamable=false. Will ignore that and create streamable output "
|
||||||
"instead");
|
"instead");
|
||||||
qtmux->streamable = TRUE;
|
qtmux->streamable = TRUE;
|
||||||
g_object_notify (G_OBJECT (qtmux), "streamable");
|
g_object_notify (G_OBJECT (qtmux), "streamable");
|
||||||
|
qtmux->fragment_mode = GST_QT_MUX_FRAGMENT_STREAMABLE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GST_QT_MUX_MODE_ROBUST_RECORDING_PREFILL:
|
case GST_QT_MUX_MODE_ROBUST_RECORDING_PREFILL:
|
||||||
|
|
Loading…
Reference in a new issue