[Bug 778273] New: AVFVideoSource must post a latency message after it renegotiates caps
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 7 10:34:01 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=778273
Bug ID: 778273
Summary: AVFVideoSource must post a latency message after it
renegotiates caps
Classification: Platform
Product: GStreamer
Version: 1.11.1
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: socialmediamaster9000 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Background:
The AVFVideoSource represents the iphone front- and rear-facing cameras. The
cameras can output at various frame-rates and putting a capsfilter downstream
will trigger the frame-rate selection during caps negotiation. The frame-rate
affects the latency, because for example 30fps leads to a latency of ~33ms.
The bug:
Adding an avfvideosrc to a pipeline in the NULL state works fine because
PLAYING the pipeline will calculate latency after all the caps have been
negotiated.
However, if you add an avfvideosrc to an already running pipeline, it will
renegotiate caps but it will not trigger a latency event after deciding its
frame-rate. If the pipeline already had a latency less than 1/frame-rate frames
will be dropped.
The fix:
Post latency message after caps have been set.
--
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