"GStreamer" (bugzilla.gnome.org)
2014-11-27 10:03:08 UTC
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-***@lists.freedesktop.org
ReportedBy: ***@igel.co.jp
QAContact: gstreamer-***@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.
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-***@lists.freedesktop.org
ReportedBy: ***@igel.co.jp
QAContact: gstreamer-***@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.
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.