diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-17 12:23:52 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-17 12:23:52 +0000 |
commit | 152a7563a769b5e1adc098f2972c5cfe2765095a (patch) | |
tree | cf4d9026bb64dfc4d58fad8b7820e32b749fdf95 /mplayer.c | |
parent | 3746ce4734abc712a3d628cda4a085364301b786 (diff) | |
download | mpv-152a7563a769b5e1adc098f2972c5cfe2765095a.tar.bz2 mpv-152a7563a769b5e1adc098f2972c5cfe2765095a.tar.xz |
Add correct loop option parsing in command line parser.
Reset the config while looping inside a file
You can now define GLOBAL_OPTIONS_ONLY in your config.h
to have only global options (ie no per file option)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5656 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2670,7 +2670,9 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) /* Looping. */ if(eof==1 && loop_times>=0) { - + int l = loop_times; + play_tree_iter_step(playtree_iter,0,0); + loop_times = l; mp_msg(MSGT_CPLAYER,MSGL_V,"loop_times = %d, eof = %d\n", loop_times,eof); if(loop_times>1) loop_times--; else |