[Bug 732874] New: encoder: Baseclass calls propose_allocation() before set_format()
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jul 7 19:01:00 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=732874
GStreamer | gst-plugins-base | 0.11.x
Summary: encoder: Baseclass calls propose_allocation() before
set_format()
Classification: Platform
Product: GStreamer
Version: 0.11.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: nicolas.dufresne at collabora.co.uk
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
This was introduce during porting
https://bugzilla.gnome.org/show_bug.cgi?id=680614.
The downside is that it makes it counter intuitive, as propose_allocation()
should happen after set_format(). To implement propose_allocation(), encoder
have to get the caps from the pad, and then most likely parse these caps into
GstVideoInfo structure. Without this patch, it would simply have cached the
input_state, and read the information from there.
I do think this is in the ABI now, but would at least be nice to revisit for
2.0.
--
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