mirror of
https://github.com/mpv-player/mpv
synced 2025-02-21 15:27:00 +00:00
player: remove something DVD specific
This is not needed anymore, because demux_disc isolates us from this crap.
This commit is contained in:
parent
870dc84839
commit
10debffc06
@ -109,14 +109,7 @@ double get_main_demux_pts(struct MPContext *mpctx)
|
||||
|
||||
double get_start_time(struct MPContext *mpctx)
|
||||
{
|
||||
struct demuxer *demuxer = mpctx->demuxer;
|
||||
if (!demuxer)
|
||||
return 0;
|
||||
// We reload the demuxer on menu transitions; don't make it use the first
|
||||
// timestamp it finds as start PTS.
|
||||
if (mpctx->nav_state)
|
||||
return 0;
|
||||
return demuxer->start_time;
|
||||
return mpctx->demuxer ? mpctx->demuxer->start_time : 0;
|
||||
}
|
||||
|
||||
float mp_get_cache_percent(struct MPContext *mpctx)
|
||||
|
Loading…
Reference in New Issue
Block a user