[MPlayer-dev-eng] [PATCH] GUI: Corrections for display of video size and track number, playlist position, etc.

Hans-Dieter Kosch hdkosch at kabelbw.de
Tue Nov 27 02:56:10 CET 2012


Hi Ingo,

attached my next patch suggestions.


File:

gui/interface.c


Changelog:

Corrections for display of video size and track number, playlist position, etc.:

Show correct video size: a) on startup the size of the MPlayer Idle Image;
b) 0x0 if video window hidden.

Set correct track number '1': a) after loading of playlist (first title is
already shown and playlist position is at 1); b) when playing a new single file
(playlist is overwritten, title already shown and playlist position is at 1).

Reset playlist to first position on STOP or after reaching the end
(just like when playing a CD, DVD, etc.).

Reset track number to '0' if nothing ready to play.

Reset 'guiInfo.RunningTime' and 'guiInfo.Angle' to '0' after end of file.


File:

gui/ui/gtk/playlist.c


Changelog:

Corrections for display of track number:

Reset track number to '0' when playlist is cleared and nothing is playing.

Set track number to '1' when playlist is loaded and re-initialised.


Hans-Dieter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gui_interface.c.patch
Type: text/x-patch
Size: 3813 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20121127/035da5ab/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gui_ui_gtk_playlist.c.patch
Type: text/x-patch
Size: 734 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20121127/035da5ab/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list