diff options
author | wm4 <wm4@nowhere> | 2013-11-27 20:54:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-27 21:14:39 +0100 |
commit | 1e96f5bcd98f41fa11d87f1a5236468f985327a9 (patch) | |
tree | 34d0de4c79fdd9023415f4d5bfe2380ae7bd55c5 /mpvcore/player/video.c | |
parent | f09b2ff661040828e2b17fad89613f7706b10e7d (diff) | |
download | mpv-1e96f5bcd98f41fa11d87f1a5236468f985327a9.tar.bz2 mpv-1e96f5bcd98f41fa11d87f1a5236468f985327a9.tar.xz |
Move some code from player to audio/video reset functions
Diffstat (limited to 'mpvcore/player/video.c')
-rw-r--r-- | mpvcore/player/video.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mpvcore/player/video.c b/mpvcore/player/video.c index 65343cfa58..a9dffaf6e9 100644 --- a/mpvcore/player/video.c +++ b/mpvcore/player/video.c @@ -118,8 +118,6 @@ int reinit_video_chain(struct MPContext *mpctx) struct dec_video *d_video = talloc_zero(NULL, struct dec_video); mpctx->d_video = d_video; - d_video->last_pts = MP_NOPTS_VALUE; - d_video->last_packet_pdts = MP_NOPTS_VALUE; d_video->opts = mpctx->opts; d_video->header = sh; d_video->fps = sh->video->fps; |