mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
docs/random/ds/0.9-suggested-changes: Add a note to change handoff use in fakesrc to be usable in a more generic way ...
Original commit message from CVS: * docs/random/ds/0.9-suggested-changes: Add a note to change handoff use in fakesrc to be usable in a more generic way (fakesrc should be renamed to appsrc or so). * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init): Change signal type to scope, so we can fill the buffer in the handoff handler (that's the whole use of this signal...).
This commit is contained in:
parent
d7c4997565
commit
d355246b0d
4 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
|||
2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* docs/random/ds/0.9-suggested-changes:
|
||||
Add a note to change handoff use in fakesrc to be usable in
|
||||
a more generic way (fakesrc should be renamed to appsrc or so).
|
||||
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
|
||||
Change signal type to scope, so we can fill the buffer in the
|
||||
handoff handler (that's the whole use of this signal...).
|
||||
|
||||
2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* docs/pwg/other-ntoone.xml:
|
||||
|
|
|
@ -40,6 +40,9 @@ API:
|
|||
- deprecate gst_buffer_merge() and replace with a function that takes
|
||||
ownership of the buffers. (bug #136408)
|
||||
|
||||
- fakesrc handoff should be changed to return a GstData * or carry a
|
||||
GstData **, wo the user can provide own buffers and events.
|
||||
|
||||
caps:
|
||||
|
||||
(Company:)
|
||||
|
|
|
@ -260,7 +260,7 @@ gst_fakesrc_class_init (GstFakeSrcClass * klass)
|
|||
g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstFakeSrcClass, handoff), NULL, NULL,
|
||||
gst_marshal_VOID__POINTER_OBJECT, G_TYPE_NONE, 2,
|
||||
GST_TYPE_BUFFER, GST_TYPE_PAD);
|
||||
GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE, GST_TYPE_PAD);
|
||||
|
||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_fakesrc_set_property);
|
||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_fakesrc_get_property);
|
||||
|
|
|
@ -260,7 +260,7 @@ gst_fakesrc_class_init (GstFakeSrcClass * klass)
|
|||
g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstFakeSrcClass, handoff), NULL, NULL,
|
||||
gst_marshal_VOID__POINTER_OBJECT, G_TYPE_NONE, 2,
|
||||
GST_TYPE_BUFFER, GST_TYPE_PAD);
|
||||
GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE, GST_TYPE_PAD);
|
||||
|
||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_fakesrc_set_property);
|
||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_fakesrc_get_property);
|
||||
|
|
Loading…
Reference in a new issue