Commit 157d23d4 authored by Steve Lhomme's avatar Steve Lhomme

demux:adaptive: doDemux is given an mtime_t

parent cd628d82
...@@ -412,7 +412,7 @@ int PlaylistManager::demux_callback(demux_t *p_demux) ...@@ -412,7 +412,7 @@ int PlaylistManager::demux_callback(demux_t *p_demux)
return manager->doDemux(DEMUX_INCREMENT); return manager->doDemux(DEMUX_INCREMENT);
} }
int PlaylistManager::doDemux(int64_t increment) int PlaylistManager::doDemux(mtime_t increment)
{ {
vlc_mutex_lock(&demux.lock); vlc_mutex_lock(&demux.lock);
if(demux.i_nzpcr == VLC_TS_INVALID) if(demux.i_nzpcr == VLC_TS_INVALID)
......
...@@ -72,7 +72,7 @@ namespace adaptive ...@@ -72,7 +72,7 @@ namespace adaptive
protected: protected:
/* Demux calls */ /* Demux calls */
virtual int doControl(int, va_list); virtual int doControl(int, va_list);
virtual int doDemux(int64_t); virtual int doDemux(mtime_t);
virtual bool setPosition(mtime_t); virtual bool setPosition(mtime_t);
virtual mtime_t getDuration() const; virtual mtime_t getDuration() 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