1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/core
wm4 f3c26b6ab4 mplayer: fix framestepping on ordered chapter segment boundaries
Trying to step over a segment boundary didn't work, and the video was
stuck at the end of the current chapter. At this point, both video and
audio of the segment has ended, and the segment switching code is going
to call seek() to go to the next segment (the part of the code in
run_playloop that uses end_is_chapter). However, this seek() is not
called if playback is paused, and the framestepping code always paused
before this code is run.

Move the framestepping code below the chapter switching code. The added
restart_playback condition makes sure the code is called only after at
least one video frame has been shown. Also don't reset the framestep
counter after seek. It's not needed, and removing it prevents full
unpausing when stepping over a segment boundary.

This also terminates playback when frame stepping at the end of the
file. The --keep-open option can be used to get the old behavior.
2013-04-04 01:16:55 +02:00
..
input remove Apple Remote related code 2013-03-31 12:15:40 +02:00
timeline cache: refactor how cache enabling is done 2012-12-03 21:08:51 +01:00
asxparser.c
asxparser.h
av_common.c configure: bump minimum FFmpeg/Libav versions, remove compat hacks 2013-03-13 23:52:04 +01:00
av_common.h demux_lavf, ad_lavc, vd_lavc: pass codec header data directly 2013-02-10 17:25:57 +01:00
av_log.c demux_lavf: add support for libavdevice 2012-12-03 21:08:51 +01:00
av_log.h
av_opts.c
av_opts.h
bstr.c Replace strsep() uses 2013-01-13 17:32:39 +01:00
bstr.h Replace strsep() uses 2013-01-13 17:32:39 +01:00
cfg-mplayer.h osd: draw the OSD bar with ASS vector drawings 2013-03-30 20:23:45 +01:00
codecs.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
codecs.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
command.c command: export VO video width/height as properties 2013-03-26 01:29:53 +01:00
command.h command: give feedback on the OSD if a property is unavailable 2013-02-16 21:41:24 +01:00
cpudetect.c
cpudetect.h
defaultopts.c remove Apple Remote related code 2013-03-31 12:15:40 +02:00
defaultopts.h
encode_lavc.c Remove vo_fps global variable 2013-03-04 22:21:57 +01:00
encode_lavc.h Remove vo_fps global variable 2013-03-04 22:21:57 +01:00
encode.h Remove vo_fps global variable 2013-03-04 22:21:57 +01:00
m_config.c options: drop --opt:subopt option names 2013-02-23 00:07:11 +01:00
m_config.h options: drop --opt:subopt option names 2013-02-23 00:07:11 +01:00
m_option.c m_option: pretty-print floats with 3 pre-decimal digits instead of 2 2013-03-26 01:29:54 +01:00
m_option.h vo_opengl: split into multiple files, convert to new option API 2013-03-28 21:46:17 +01:00
m_property.c input: make input command deprecation warnings visible 2013-03-26 01:29:38 +01:00
m_property.h
m_struct.c
m_struct.h
mp_common.c cleanup: remove duplicated function, move escape parsing function 2013-02-16 23:24:46 +01:00
mp_common.h cleanup: remove duplicated function, move escape parsing function 2013-02-16 23:24:46 +01:00
mp_core.h core: output --playing-msg message only after at least one frame is shown 2013-03-26 01:29:53 +01:00
mp_fifo.c Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
mp_fifo.h
mp_msg.c mp_msg: don't change text color for normal output 2013-03-26 01:17:38 +01:00
mp_msg.h
mp_osd.h osd: always update already visible OSD bar on seeks 2013-02-16 20:50:05 +01:00
mp_talloc.h video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
mplayer.c mplayer: fix framestepping on ordered chapter segment boundaries 2013-04-04 01:16:55 +02:00
mplayer.h core: remove a number of global variables 2013-03-08 02:12:53 +01:00
options.h remove Apple Remote related code 2013-03-31 12:15:40 +02:00
parser-cfg.c parser-cfg: fix profile-desc 2013-02-18 17:01:25 +01:00
parser-cfg.h
parser-mpcmd.c options: fix --no-shuffle and --no-{ 2013-02-23 00:07:11 +01:00
parser-mpcmd.h
path.c path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
path.h path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
playlist_parser.c options: rename -ss and -endpos, allow relative times 2012-11-16 21:21:15 +01:00
playlist_parser.h
playlist.c
playlist.h
quvi.c Fix lots of bugs in mp_http URL handling 2013-01-10 14:11:26 +01:00
screenshot.c screenshot: show a message on each screenshot taken 2013-02-26 01:55:52 +01:00
screenshot.h screenshot: show a message on each screenshot taken 2013-02-26 01:55:52 +01:00
subopt-helper.c
subopt-helper.h
version.c build: identify the build time of the binary in the versioning output 2012-12-03 21:08:51 +01:00