mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-09 01:44:46 +00:00
Make M3U8 and GstM3U8MediaFile refcounted. The contents of it and GstM3U8MediaFile are pretty much immutable already, but if we make it refcounted we can just return a ref to the media file from _get_next_fragment() instead of copying over all fields one-by-one, and then copying them all into the adaptive stream structure fields again. Move state from client into m3u8 structure. This will be useful later when we'll have multiple media playlists being streamed at the same time, as will be the case with alternative renditions. This has the downside that we need to copy over some state when we switch between variant streams. The GstM3U8Client structure is gone, and main/current lists are not directly in hlsdemux. hlsdemux had as many CLIENT_LOCK/UNLOCK as the m3u8 code anyway... |
||
---|---|---|
.. | ||
gsthls.h | ||
gsthlsdemux.c | ||
gsthlsdemux.h | ||
gsthlsplugin.c | ||
gsthlssink.c | ||
gsthlssink.h | ||
gstm3u8playlist.c | ||
gstm3u8playlist.h | ||
m3u8.c | ||
m3u8.h | ||
Makefile.am |