Cosmetic: Revise a few comments.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37161 b3059339-0415-0410-9bf9-f77b7e298cf2
Add listFree().

Use it in listSet().

(This is the only purpose of use at the moment, but we will need
listFree() later which is the reason behind setting the pointer
to NULL after freeing.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37162 b3059339-0415-0410-9bf9-f77b7e298cf2
Add listDup().

(Currently unused, but we will need it soon.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37163 b3059339-0415-0410-9bf9-f77b7e298cf2
Rewrite add_vf().

Rename parameter and make it const.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37164 b3059339-0415-0410-9bf9-f77b7e298cf2
Rewrite add_vf().

Prefer strcmp() to gstrcmp() since vf_settings[i].name has been checked
not to be NULL.

Additionally, rephrase the condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37165 b3059339-0415-0410-9bf9-f77b7e298cf2
Rewrite add_vf().

Move variable to scope where it is used.

Additionally, rename it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37166 b3059339-0415-0410-9bf9-f77b7e298cf2
Rewrite add_vf().

Use memset() in order to clear vf_settings[i + 1] completely.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37167 b3059339-0415-0410-9bf9-f77b7e298cf2
Rewrite add_vf().

Prefer calloc() to malloc().
As a result, vf_settings[1] doesn't need to be cleared.

Additionally, check the result of the allocation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37168 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix bug in r37165.

The incrementation has got lost there.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37169 b3059339-0415-0410-9bf9-f77b7e298cf2
Rewrite add_vf().

Avoid confusing usage of i = -1 to indicate that a video filter
has been found. Check vf_settings[i].name instead.

As a result, the index of the video filter found won't be destroyed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37170 b3059339-0415-0410-9bf9-f77b7e298cf2
Rewrite add_vf().

Add a parameter in order to pass options to a video filter to be added.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37171 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Adjust indent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37172 b3059339-0415-0410-9bf9-f77b7e298cf2
Improve add_vf().

Allow changing the options of an existing video filter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37173 b3059339-0415-0410-9bf9-f77b7e298cf2
Relocate add_vf().

Additionally, add doxygen comment.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37174 b3059339-0415-0410-9bf9-f77b7e298cf2
Add get_vf().

(Currently unused, but we will need it soon.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37175 b3059339-0415-0410-9bf9-f77b7e298cf2
Add remove_vf().

(Currently unused, but we will need it soon.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37176 b3059339-0415-0410-9bf9-f77b7e298cf2
New GUI feature: Rotate a video.

It is accessible from the context menu.

Based on a complain by Linus about video players that don't easily allow
rotating a video. (Thanks to compn for pointing that out.)

Realize the feature by adding and/or removing appropriate video filters.

Additionally, add new GUI message evSetRotation and update documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37177 b3059339-0415-0410-9bf9-f77b7e298cf2