Commit Graph

35 Commits

Author SHA1 Message Date
adrian 510a5f268c Remove redundant duplicate option handling in the playtree.
Fixes the use of options on the command line which should not override each other (like -vf-add).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29768 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-10 10:39:05 +00:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
reimar 6fc95c1817 Actually abort (return NULL) in the alloc-failure check in play_tree_new
instead of going right ahead and crashing.
Patch by Luis Felipe Strano Moraes (luis strano  gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28355 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 18:25:11 +00:00
ben 3f8db043f5 revert non-acked r27106
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27120 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-21 09:15:25 +00:00
ben 6a55bbb4a2 Only "pop" subtree params if they had previously been "pushed",
and afterwards reset the "pushed" value to 0 again.
Similarly only set the PLAY_TREE_RND_PLAYED flag
if the entry had been pushed before.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27106 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 19:51:43 +00:00
diego e91fc44d4c typo: begining --> beginning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25517 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-23 21:22:02 +00:00
diego f5a10ea82f typo fix: childs --> children
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23892 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:27:55 +00:00
reimar 123e80594d Cast sizeof() to int in mp_msg arguments so it fits the format string on 64bit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23634 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:39:04 +00:00
diego a205e9444c Remove unused variable, patch by Stefan Huehner stefan [at] huehner [dot] org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18891 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 14:52:07 +00:00
reynaldo 3afd65b3af rm unnecesary casts from void* - part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 08:17:07 +00:00
reynaldo 5b4ec50d44 rm unnecesary void* casts - part 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 03:56:13 +00:00
albeu 400a9fab2e Doxygen Attack! - Chapter 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18266 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-25 01:26:10 +00:00
reimar 1e9749979b fix "last file is always played last" bug.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13885 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-05 22:45:16 +00:00
reimar ef8f08572b fix -loop in combination with -shuffle
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13709 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 17:30:29 +00:00
diego 42b784ac1a string handling security fixes
patch by Nicholas Kain, Alexander Strasser <eclipse7@gmx.net>
reviewed by Pontscho, Alex, Rich


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12647 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 16:49:53 +00:00
albeu ca89a84e8a Fix -shuffle with remote playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10395 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-08 10:45:05 +00:00
albeu 2f0fdb59c0 Use new config headers
Remove the hack used to support dvd://, tv:// and vcd://


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9749 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:09:17 +00:00
arpi f7b66d5568 this patch adds a high-level-api to playtree, allowing to use it more easily
and hopefully also letting one doing less mistakes, as current low-level-api
is not rock-solid ...
patch by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9291 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-05 23:02:05 +00:00
albeu 5a4c2c738e Add random stepping support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8175 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 23:39:35 +00:00
albeu 126725660d New config system + cleanup of header inter dependency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 01:56:42 +00:00
albeu 2c33145134 10L found by jeroen dobbelaere <jeroen dot dobbelaere at acunia dot com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8063 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 22:44:15 +00:00
albeu e87d472777 Portability fix with realloc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5803 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-23 20:06:00 +00:00
pontscho da6135b983 fix playlist bug with gui and rewrite mousecursor show/hide code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-16 17:41:29 +00:00
albeu 61f5edf208 Set the params given to a playlist url to the playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5218 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-20 10:27:27 +00:00
pontscho d751518e07 small bug fixed and workarounds :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4975 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-07 11:57:33 +00:00
pontscho 95022a8271 workaround for gui a short time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4961 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-06 23:27:20 +00:00
albeu 4fd6e57d09 In the good way this time, (1 and 0 was swaped 10*10^10l for me ;))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4782 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 13:11:31 +00:00
albeu 641c8325bc Fixed (I hope) little bug wich lead to sig11 after last playtree entry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4769 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-20 17:03:35 +00:00
albeu 5fafd19ee2 Bug fix for subconfig option. A -tv option containing the on parameter
is now take as an entry. New functions to set/get options and know
if an option is alredy set. A few comments.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4293 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 10:45:53 +00:00
albeu 5899d5ea03 Some improvment and make -vcd -dvd options considered as playlist entry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4269 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 22:16:47 +00:00
albeu c78615bc71 Few bug fix and improvment in config/playtree system
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 16:58:04 +00:00
albeu 6118582726 Fixed a few bugs and added support for VCD/DVD/TV in playlist using virtual url
like dvd://1 vcd://2 tv://5


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4221 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-17 20:24:28 +00:00
arpi ef4a38a54e playtree-based config patch by Alban Bedel <albeu@free.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4157 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 23:38:49 +00:00
nexus 0573693a2b FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4051 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 12:10:33 +00:00
arpi 10d82182e0 tree-based playlist parser code by Alban Bedel <albeu@free.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4044 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 01:24:25 +00:00