souphttpsrc: Not built / usable via meson on macOS
Playback tutorial no. 2, as it is right now, fails to work - at least on macOS. Probably a curl related bug that just happens to manifest there, haven't had time to investigate further yet.
Setup
- Operating System: macOS 13
- Device: MacBook Pro 16" M1 Pro
-
GStreamer Version: latest
main
Steps to reproduce the bug
- compile the tutorial with:
clang -o playback-tutorial-2 playback-tutorial-2.c `pkg-config --cflags --libs gstreamer-1.0`
- run
./playback-tutorial-2
- instead of the tutorial running as expected (description here), an error is shown after a second or so and the program exits:
❯ ./playback-tutorial-2
0:00:01.051171000 41463 0x11e033800 ERROR curlhttpsrc gstcurlhttpsrc.c:1039:gst_curl_http_src_create:<source> Unknown state of 1
Error received from element source: Internal data flow error.
Debugging information: ../subprojects/gstreamer/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
0:00:01.051269000 41463 0x11e033800 ERROR curlhttpsrc gstcurlhttpsrc.c:1039:gst_curl_http_src_create:<source> Unknown state of 1