[MPlayer-dev-eng] [PATCH] GUI: Corrections for showing video image size

Hans-Dieter Kosch hdkosch at kabelbw.de
Sun Dec 2 00:14:07 CET 2012


Ingo Brückl wrote:
> Hans-Dieter Kosch wrote on Sat, 01 Dec 2012 21:21:40 +0100:
> 
>> However, there would still be an inconsistency: At startup with a stored
>> playlist, the first filename is shown and playback is possible, but the
>> size information of this file is not yet available, while after playing it
>> is; same applies e.g. to guiInfo.RunningTime.
> 
> Well, this is a limitation we have to live with. While we know about the file
> name to be played (and track number etc., i.e. the GUI related information)
> we don't have media information until MPlayer opens the file and provides
> that information for us.
> 
Yes, of course, I know. Therefore, my idea is: as long as a file/stream is not 
currently playing, ignore all info about it, just as when having selected it but 
not playing yet (where the info is not yet available). The current state should 
be obvious from the play/pause button(s) on the skin.

Then we could have a consistent behaviour: only show info about that, what is 
currently really "playing", not what has been or will be, except the filename of 
course; in case of the MPlayer image, it is its size, nothing else. E.g. after 
playing a file/stream, we still have the size info but no longer the codec info 
as mpctx is now invalid (the former segfault). I think, it makes no sense to 
keep and show info about a file/stream/etc. after playing which is then only 
partially available.

Hans-Dieter


More information about the MPlayer-dev-eng mailing list