Commit e97d492a authored by François Cartegnie's avatar François Cartegnie 🤞 Committed by Jean-Baptiste Kempf
Browse files

demux: adaptive: remove unused code

parent a8d947e5
......@@ -393,11 +393,6 @@ bool PlaylistManager::updatePlaylist()
return true;
}
vlc_tick_t PlaylistManager::getFirstPlaybackTime() const
{
return 0;
}
vlc_tick_t PlaylistManager::getCurrentDemuxTime() const
{
vlc_mutex_locker locker(&demux.lock);
......@@ -625,7 +620,7 @@ int PlaylistManager::doControl(int i_query, va_list args)
{
setBufferingRunState(false); /* stop downloader first */
vlc_tick_t time = va_arg(args, vlc_tick_t);// + getFirstPlaybackTime();
vlc_tick_t time = va_arg(args, vlc_tick_t);
if(!setPosition(time))
{
setBufferingRunState(true);
......
......@@ -82,7 +82,6 @@ namespace adaptive
vlc_tick_t getFirstDTS() const;
unsigned getActiveStreamsCount() const;
virtual vlc_tick_t getFirstPlaybackTime() const;
vlc_tick_t getCurrentDemuxTime() const;
vlc_tick_t getMinAheadTime() const;
......
......@@ -103,8 +103,3 @@ bool HLSManager::isHTTPLiveStreaming(stream_t *s)
return false;
}
vlc_tick_t HLSManager::getFirstPlaybackTime() const
{
return demux.i_firstpcr;
}
......@@ -38,9 +38,6 @@ namespace hls
logic::AbstractAdaptationLogic::LogicType type );
virtual ~HLSManager();
static bool isHTTPLiveStreaming(stream_t *);
protected:
virtual vlc_tick_t getFirstPlaybackTime() const;
};
}
......
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