After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628452 - dshowvideosrc: The element doesn't handle device disconnections
dshowvideosrc: The element doesn't handle device disconnections
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-31 21:32 UTC by Andoni Morales
Modified: 2018-05-04 09:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andoni Morales 2010-08-31 21:32:16 UTC
The dshowvideosrc plugin doesn't handle device disconnections.

A quick an dirty way of solving it is replacing g_cond_wait in ::create() with a timed wait and error out after X seconds.

The good way woud be to set an event listener for the dshow graph and handle graphs event properly to notify a device disconnection.

Feedback is welcome.
Comment 1 Sebastian Dröge (slomo) 2013-12-23 14:23:37 UTC
Is this still something that we want to implement? DirectShow is deprecated and the plugins not ported to 1.x yet.

For now just doing the timeout solution seems ok'ish, better than nothing.
Comment 2 Sebastian Dröge (slomo) 2018-05-04 09:14:27 UTC
Let's close this then. It's still valid but DirectShow is deprecated and nobody seems to care enough to implement this :)