[gstreamer-bugs] [Bug 520892] dshowvideosrc latency and shutdown improvements

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 6 17:28:00 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=520892

  GStreamer | gst-plugins-bad | Ver: HEAD CVS




------- Comment #1 from Ole André Vadla Ravnås  2008-03-07 01:27 UTC -------
Created an attachment (id=106740)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=106740&action=view)
dshowvideosrc_drop_late_and_support_unlock

Only keep the last video-frame, and also handle unlocking.

* It's not a good idea to keep frames in a GAsyncQueue if the streaming
thread doesn't read fast enough. For instance if the thread gets starved it
could end up lagging behind by n frames and thus accumulating latency.
* Remaining GstBuffers on the queue weren't unreffed on teardown.
* Another issue was that there wasn't any unblocking implemented for the call
to g_async_queue_pop() in create() if the queue was drained at the point when
the capture was stopped.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=520892.




More information about the Gstreamer-bugs mailing list