[SOLVED] DirectShow lister media player: Playback time/duration info disappears when playback paused and lister resized

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

[SOLVED] DirectShow lister media player: Playback time/duration info disappears when playback paused and lister resized

Post by *gdpr deleted 6 »

When playing back a video with the new DirectShow media player, playback time and duration are shown in the lower-rigth corner.

Pause video playback and then resize the lister window while the video is paused.
Playback time and duration are now gone: https://imgur.com/a/xXBGCia
Only after resuming playback, they will appear again.

(Screenshot is with my normal TC settings, however problem also happens with fresh INI. I just "reused" the screenshot i already made for another post, and it was then when i looked at this screenshot that i noticed the issue...)


Part 2:
There is another issue with the text field used for the playback time/duration. It is one pixel too wide or positioned one pixel too far right, as it overlaps the gray border/shadow of the control bar. Screenshot with 4x magnification: https://imgur.com/a/Q5L5Jk8



Observed in TC 10.00b1a 32-bit and 64-bit verions on Windows 7 x64 Pro.
Lister player is using LAV filters 0.74.1 (installed/registered system-wide).
Last edited by gdpr deleted 6 on 2021-03-19, 13:29 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: DirectShow lister media player: Playback time/duration information disappears when playback paused and lister resize

Post by *ghisler(Author) »

The field is only drawn when I receive a current position from the player. That's why it's lost when you resize the dialog.

I can confirm the overdraw error.
Author of Total Commander
https://www.ghisler.com
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: DirectShow lister media player: Playback time/duration information disappears when playback paused and lister resize

Post by *gdpr deleted 6 »

ghisler(Author) wrote: 2021-03-15, 18:16 UTC The field is only drawn when I receive a current position from the player. That's why it's lost when you resize the dialog.
I thought as much. It's not that important, but perhaps lister could cache the text value set for this text field, and redraw this text field with the cached value when there is some event (such as window resize) triggering a repaint of the UI.
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: DirectShow lister media player: Playback time/duration information disappears when playback paused and lister resize

Post by *gdpr deleted 6 »

Confirmed fixed in TC 10.00b2 (x86 and x64). Thanks!
Post Reply