mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
hlssink: Fix segment names on playlist
When the playlist-root is not set, the segment name must not be appended by the path. https://bugzilla.gnome.org/show_bug.cgi?id=687133
This commit is contained in:
parent
9e1b75fda3
commit
dda3106650
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ gst_hls_sink_handle_message (GstBin * bin, GstMessage * message)
|
|||
title = "ciao";
|
||||
GST_INFO_OBJECT (sink, "COUNT %d", sink->index);
|
||||
if (sink->playlist_root == NULL)
|
||||
entry_location = g_strdup (filename);
|
||||
entry_location = g_path_get_basename (filename);
|
||||
else {
|
||||
gchar *name = g_path_get_basename (filename);
|
||||
entry_location = g_build_filename (sink->playlist_root, name, NULL);
|
||||
|
|
Loading…
Reference in a new issue