1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/mpvcore
wm4 2c6a3cb1f2 mplayer: fix looping of very short files
Commit 884c179 attempted to make it possible to skip backwards through
the playlist, even for files which fail to intitialize, or play for a
very short time. This was also used to prevent mpv from looping forever
and doing nothing if --loop=inf is used, and no file in the playlist is
playable.

This broke looping of very short files, because mpv was assuming that
this case happened. But there are legitimate use cases.

Fix this by making the looping case special. Instead of checking whether
playback was "very short", check whether something could be decoded and
displayed/played. If yes, allow looping.
2013-09-29 21:10:45 +02:00
..
input input: handle MOUSE_LEAVE specially 2013-09-27 15:33:47 +02:00
lua osc: add options to show OSC only when FS/windowed 2013-09-27 20:12:13 +02:00
timeline matroska: fix uninitialized memory accesses with ordered chapters 2013-09-26 18:20:32 +02:00
asxparser.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
asxparser.h
av_common.c
av_common.h
av_log.c av_log: show ffmpeg "info" messages with -v only 2013-09-15 00:43:43 +02:00
av_log.h
av_opts.c
av_opts.h
bstr.c bstr: make UTF-8 check stricter 2013-08-15 23:40:03 +02:00
bstr.h bstr: add UTF-8 validation and sanitation functions 2013-08-15 23:40:02 +02:00
charset_conv.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
charset_conv.h sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
codecs.c
codecs.h
command.c input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
command.h input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
cpudetect.c
cpudetect.h
encode_lavc.c
encode_lavc.h
encode.h
m_config.c m_option: rename struct member named "new" 2013-08-19 13:03:08 +02:00
m_config.h
m_option.c mplayer: m_option: fix clang -Wformat compiler warning 2013-09-14 20:49:55 +02:00
m_option.h mplayer: start track IDs from 1 rather than 0 2013-08-21 18:32:42 +02:00
m_property.c command: when changing a property, allow showing an extra OSD message 2013-09-21 00:07:42 +02:00
m_property.h command: when changing a property, allow showing an extra OSD message 2013-09-21 00:07:42 +02:00
mp_common.c mp_common: add function which accepts a format string to format playback time 2013-09-15 02:51:17 +02:00
mp_common.h Fix previous commit 2013-09-25 22:44:12 +02:00
mp_core.h mplayer: fix looping of very short files 2013-09-29 21:10:45 +02:00
mp_lua.c input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
mp_lua.h Add initial Lua scripting support 2013-09-26 01:28:58 +02:00
mp_memory_barrier.h
mp_msg.c
mp_msg.h Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
mp_osd.h
mp_ring.c
mp_ring.h
mp_talloc.h
mplayer.c mplayer: fix looping of very short files 2013-09-29 21:10:45 +02:00
mpv_global.h
options.c network: add options to control TLS verification 2013-09-27 18:09:30 +02:00
options.h network: add options to control TLS verification 2013-09-27 18:09:30 +02:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
parser-mpcmd.h
path.c macosx: move bundle path stuff to path-macosx.m 2013-09-18 19:30:11 +02:00
path.h path: add a common mp_is_url() function 2013-09-04 16:15:08 +02:00
playlist_parser.c demux_playlist: port ini reference playlist parser 2013-08-28 23:08:10 +02:00
playlist_parser.h core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
playlist.c path: add a common mp_is_url() function 2013-09-04 16:15:08 +02:00
playlist.h mplayer: fix looping of very short files 2013-09-29 21:10:45 +02:00
resolve_quvi9.c
resolve_quvi.c quvi: coerce libquvi 0.4 support into allowing format switching 2013-09-10 16:38:34 +02:00
resolve.h quvi: coerce libquvi 0.4 support into allowing format switching 2013-09-10 16:38:34 +02:00
screenshot.c screenshot: change %w format to be more like %t 2013-09-15 19:07:35 +02:00
screenshot.h
version.c