-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance test playback window should close on stop #308
Comments
Thanks for the report. Again this seems to be the standard windowing behaviour for some video renderer filters. AFAICT it's up to the filter how to manage any created windows. Most system renderers leave the windows visible when stopping. Not something GSN can change really. |
Well, doesn't graphstudio know when benchmark has ended? |
If this was a standalone application then what you say makes perfect sense. However GSN is a testbed application for DirectShow developers testing graphs and filters. On the whole GSN tries not to override default filter behaviour without showing some sort of UI cue that the behaviour has been customised by the application. When we start getting too clever it can interfere with this purpose. For example in #issue 291 GSN was doing something custom and non-standard with clock setting on new graphs which caused incorrect behaviour and needed to be removed. You could add an option on the dialog for closing the video renderer window at the end of performance testing (the performance testing dialog knows when this happens) but it would probably involve querying for video renderer specific COM interfaces to get the window handle or some sort of hacky search for a window with a specific window title or window class and would only work with specific video renderers. What would happen with other video renderers that play full screen or use multiple or no windows or actually display meaningful images after playback has stopped? It seems niche and bit dirty to me... |
Mhh, I totally see your point and I'd even close the issue now then. I mean, if not to cross-check what you said, at least to know if on their part anybody would mind to implement some.. stupidity to fix this even stupider nuisance. |
I'm guessing here you mean the 'LAV video decoder' filter. I'm not aware of an LAV video renderer filter. Changing the LAV video decoder filter wouldn't help as the playback window is created and destroyed by the renderer filter and is independent of the decoder filter that's being used. The DirectShow architecture deliberately limits the extent of interactions between filters (and that's a very good thing!). |
Yes, sorry if I confuse labels.
Ohh, I see. I wonder if we couldn't workaround it somehow else "externally" (ie not touching directshow) then? |
IMHO.
I totally don't see the point in a black window standing still there.
The text was updated successfully, but these errors were encountered: