[gstreamer-bugs] [Bug 607742] New: add gst_event_new_force_key_unit: gst-plugins-base/gst-libs/gst/video/video.c
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jan 22 01:44:03 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=607742
GStreamer | gst-plugins-base | unspecified
Summary: add gst_event_new_force_key_unit:
gst-plugins-base/gst-libs/gst/video/video.c
Classification: Desktop
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ensonic at sonicpulse.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Should we add this to video library, so that we can also document it?
GstEvent*
gst_event_new_force_key_unit(void)
{
return gst_event_new_custom (GST_EVENT_CUSTOM_DOWNSTREAM,
gst_structure_new("GstForceKeyUnit", NULL));
}
Should we also have this for the codec implementations?
gboolean
gst_event_is_force_key_unit(GstEvent *event)
{
const GstStructure *s = gst_event_get_structure (event);
return gst_structure_has_name (s, "GstForceKeyUnit");
}
--
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