curl plugin does not follow redirects: Internal data flow error
Describe your issue
gst-play-1.0 https://files.kde.org/plasma/kwin/effect-videos/magnifier.ogv
doesn't work.
Expected Behavior
The video file plays correctly.
Observed Behavior
Now playing https://files.kde.org/plasma/kwin/effect-videos/magnifier.ogv
Prerolling...
ERROR Internal data flow error. for https://files.kde.org/plasma/kwin/effect-videos/magnifier.ogv
ERROR debug information: ../libs/gst/base/gstbasesrc.c(2770): gst_base_src_get_range (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstCurlHttpSrc:source:
Subclass GstCurlHttpSrc neither returned a buffer nor submitted a buffer list from its create function
Reached end of play list.
Setup
- GStreamer Version: 1.22
How reproducible is the bug?
The reproducibility of the bug is Always
Solutions you have tried
curl https://files.kde.org/plasma/kwin/effect-videos/magnifier.ogv
also doesn't output anything. To make it work I have to pass --location
flag.
Related non-duplicate issues
Additional Information
The plugin already has a property controlling usage of --location
flag: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/88a8d9e8cd9c1ac69520fa27f732857bc2ebb52a/subprojects/gst-plugins-bad/ext/curl/gstcurlhttpsrc.c#L384
It probably should be just enabled by default.