Commit 4501129e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

adaptive: use demux path rather than stream filter

parent 74e5edbf
......@@ -162,7 +162,7 @@ static int Open(vlc_object_t *p_obj)
p_demux->pf_demux = p_manager->demux_callback;
p_demux->pf_control = p_manager->control_callback;
msg_Dbg(p_obj,"opening playlist file (%s)", p_demux->s->psz_path);
msg_Dbg(p_obj,"opening playlist file (%s)", p_demux->psz_location);
return VLC_SUCCESS;
}
......
......@@ -85,9 +85,9 @@ bool DASHManager::updatePlaylist()
/* do update */
if(nextPlaylistupdate)
{
std::string url(p_demux->s->psz_access);
std::string url(p_demux->psz_access);
url.append("://");
url.append(p_demux->s->psz_path);
url.append(p_demux->psz_location);
uint8_t *p_data = NULL;
size_t i_data = Retrieve::HTTP(VLC_OBJECT(p_demux->s), url, (void**) &p_data);
......
......@@ -137,9 +137,9 @@ bool HLSManager::updatePlaylist()
/* do update */
if(nextPlaylistupdate)
{
std::string url(p_demux->s->psz_access);
std::string url(p_demux->psz_access);
url.append("://");
url.append(p_demux->s->psz_path);
url.append(p_demux->psz_location);
uint8_t *p_data = NULL;
size_t i_data = Retrieve::HTTP(VLC_OBJECT(p_demux->s), url, (void**) &p_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment