GNOME Bugzilla – Bug 727417
hlssink: allow key-frame to be handled without sending force-key-unit messages
Last modified: 2018-01-27 12:00:22 UTC
Created attachment 273383 [details] [review] Patch to add a force-key-unit flag to hlssink. If you wish to use hlssink without (re-)encoding, nothing will be listening to the force key unit messages, resulting in errors: gsthlssink.c:503:schedule_next_key_unit:<hlssink0> Failed to push upstream force key unit event This patch adds a flag preventing the force key unit messages to be sent, relying on existing key frames. This may (and probably will) result in non-standard-adhering segments, but if you don't care about that, this will do fine. It will set multifilesink->next-file to 2 instead of 3 to make this work.
Thanks for the patch. Sorry no one ever looked at it. We now have hlssink2 which should handle this case properly I think.