[Bug 680700] decklinksrc does not forward EOS events passed via send_event

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Dec 14 15:26:41 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=680700
  GStreamer | gst-plugins-bad | unspecified

--- Comment #5 from Todd Agulnick <todd at agulnick.com> 2013-12-14 23:26:39 UTC ---
Created an attachment (id=264207)
 View: https://bugzilla.gnome.org/attachment.cgi?id=264207
 Review: https://bugzilla.gnome.org/review?bug=680700&attachment=264207

Allow decklinksrc to process EOS even when video isn't flowing

If video isn't flowing (because the camera isn't attached or the correct mode
hasn't been specified, for example), decklinksrc won't process an EOS signal
because it's stuck in a g_cond_wait waiting for the next video frame.

The patch makes two changes: it signals on receipt of the EOS event, and it
handles the processing of EOS in the main task before it tries to process the
video frame. This is allows a clean shutdown.

The cost here is that if there was a valid final video frame to process, it
will be dropped on EOS. But that seems better than hanging dropping the EOS.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list