[Bug 740803] New: waylandsink: Double-check the frame callback before dropping frames

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 27 02:03:08 PST 2014


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

           Summary: waylandsink: Double-check the frame callback before
                    dropping frames
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kkobayas at igel.co.jp
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=291625)
 View: https://bugzilla.gnome.org/attachment.cgi?id=291625
 Review: https://bugzilla.gnome.org/review?bug=740803&attachment=291625

waylandsink: Double-check the frame callback before dropping frames

I wrote the comment that is the same as the attached patch against waylandsink.

The wl_display events dispatching runs asynchronously in a seperate
thread from the streaming thread. This means that processing a
frame callback event could be slightly late, causing unnecessary
frame drops when the video framerate is the almost same as a display
vsync frequency.

This change alleviates this problem by dispatching any pending events
with wl_display_roundtrip() in the streaming thread before
double-checking whether the frame should actually be dropped.

-- 
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