GNOME Bugzilla – Bug 602551
dshowvideosink window close doesn't cause gst-launch to exit
Last modified: 2010-08-06 00:03:14 UTC
I'm providing a small patch so that dshowvideosink.cpp causes gst-launch to exit if the window is closed. Without this, the video would stop and the audio continues playing for a few seconds and the application doesn't exit.
Created attachment 148205 [details] [review] Fixes dshowvideosink.cpp
Looks like this was committed as part of Julien's code-drop commit: commit a51d318759b07eca60811e3d47d8e81b6d12cb8c Author: Julien Moutte <julien@fluendo.com> Date: Fri Jul 23 19:41:29 2010 +0200 dshowvideosink: Improvements contributed from the Moovida projet. * Inherit from GstVideoSink * Implement GstNavigation interface * Proper COM initialization for threaded environments * Fix Window resource leak * Add EVR support for better video scaling on Windows Vista and above * Only apply PAR scaling when the keep_aspect_ratio property is set to stay consistent with the other Linux sinks * Prevent an infinite loop with the wndproc chain * Fix debugging messages to use the object instance