mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
gst/playback/: Use correct marshallers. GstCaps are a boxed type and no GObject subclass.
Original commit message from CVS: * gst/playback/gstdecodebin.c: (gst_decode_bin_class_init): * gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init): * gst/playback/gstplay-marshal.list: * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init): Use correct marshallers. GstCaps are a boxed type and no GObject subclass.
This commit is contained in:
parent
5800b1ac77
commit
05349cc354
5 changed files with 23 additions and 14 deletions
|
@ -1,3 +1,12 @@
|
|||
2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
|
||||
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init):
|
||||
* gst/playback/gstplay-marshal.list:
|
||||
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init):
|
||||
Use correct marshallers. GstCaps are a boxed type and no GObject
|
||||
subclass.
|
||||
|
||||
2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* win32/common/libgstrtsp.def:
|
||||
|
|
|
@ -219,7 +219,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
gst_decode_bin_signals[SIGNAL_UNKNOWN_TYPE] =
|
||||
g_signal_new ("unknown-type", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstDecodeBinClass, unknown_type),
|
||||
NULL, NULL, gst_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2,
|
||||
NULL, NULL, gst_marshal_VOID__OBJECT_BOXED, G_TYPE_NONE, 2,
|
||||
GST_TYPE_PAD, GST_TYPE_CAPS);
|
||||
|
||||
gobject_klass->dispose = GST_DEBUG_FUNCPTR (gst_decode_bin_dispose);
|
||||
|
|
|
@ -432,7 +432,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
gst_decode_bin_signals[SIGNAL_UNKNOWN_TYPE] =
|
||||
g_signal_new ("unknown-type", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstDecodeBinClass, unknown_type),
|
||||
NULL, NULL, gst_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2,
|
||||
NULL, NULL, gst_marshal_VOID__OBJECT_BOXED, G_TYPE_NONE, 2,
|
||||
GST_TYPE_PAD, GST_TYPE_CAPS);
|
||||
|
||||
/**
|
||||
|
@ -452,7 +452,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
gst_decode_bin_signals[SIGNAL_AUTOPLUG_CONTINUE] =
|
||||
g_signal_new ("autoplug-continue", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstDecodeBinClass, autoplug_continue),
|
||||
_gst_boolean_accumulator, NULL, gst_play_marshal_BOOLEAN__OBJECT_OBJECT,
|
||||
_gst_boolean_accumulator, NULL, gst_play_marshal_BOOLEAN__OBJECT_BOXED,
|
||||
G_TYPE_BOOLEAN, 2, GST_TYPE_PAD, GST_TYPE_CAPS);
|
||||
|
||||
/**
|
||||
|
@ -478,7 +478,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
g_signal_new ("autoplug-factories", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstDecodeBinClass,
|
||||
autoplug_factories), _gst_array_accumulator, NULL,
|
||||
gst_play_marshal_BOXED__OBJECT_OBJECT, G_TYPE_VALUE_ARRAY, 2,
|
||||
gst_play_marshal_BOXED__OBJECT_BOXED, G_TYPE_VALUE_ARRAY, 2,
|
||||
GST_TYPE_PAD, GST_TYPE_CAPS);
|
||||
|
||||
/**
|
||||
|
@ -500,7 +500,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
gst_decode_bin_signals[SIGNAL_AUTOPLUG_SORT] =
|
||||
g_signal_new ("autoplug-sort", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstDecodeBinClass, autoplug_sort),
|
||||
NULL, NULL, gst_play_marshal_BOXED__OBJECT_OBJECT_BOXED,
|
||||
NULL, NULL, gst_play_marshal_BOXED__OBJECT_BOXED_BOXED,
|
||||
G_TYPE_VALUE_ARRAY, 3, GST_TYPE_PAD, GST_TYPE_CAPS, G_TYPE_VALUE_ARRAY);
|
||||
|
||||
/**
|
||||
|
@ -523,7 +523,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
g_signal_new ("autoplug-select", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstDecodeBinClass, autoplug_select),
|
||||
_gst_select_accumulator, NULL,
|
||||
gst_play_marshal_ENUM__OBJECT_OBJECT_OBJECT,
|
||||
gst_play_marshal_ENUM__OBJECT_BOXED_OBJECT,
|
||||
GST_TYPE_AUTOPLUG_SELECT_RESULT, 3, GST_TYPE_PAD, GST_TYPE_CAPS,
|
||||
GST_TYPE_ELEMENT_FACTORY);
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
BOOLEAN:OBJECT,OBJECT
|
||||
BOOLEAN:OBJECT,BOXED
|
||||
BOOLEAN:OBJECT,OBJECT,OBJECT
|
||||
BOXED:OBJECT,OBJECT
|
||||
BOXED:OBJECT,BOXED
|
||||
VOID:OBJECT,BOOLEAN
|
||||
ENUM:OBJECT,OBJECT,BOXED
|
||||
ENUM:OBJECT,OBJECT,OBJECT
|
||||
BOXED:OBJECT,OBJECT,BOXED
|
||||
ENUM:OBJECT,BOXED,OBJECT
|
||||
BOXED:OBJECT,BOXED,BOXED
|
||||
BOXED:INT
|
||||
OBJECT:BOXED
|
||||
|
|
|
@ -296,7 +296,7 @@ gst_uri_decode_bin_class_init (GstURIDecodeBinClass * klass)
|
|||
gst_uri_decode_bin_signals[SIGNAL_UNKNOWN_TYPE] =
|
||||
g_signal_new ("unknown-type", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstURIDecodeBinClass, unknown_type),
|
||||
NULL, NULL, gst_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2,
|
||||
NULL, NULL, gst_marshal_VOID__OBJECT_BOXED, G_TYPE_NONE, 2,
|
||||
GST_TYPE_PAD, GST_TYPE_CAPS);
|
||||
|
||||
/**
|
||||
|
@ -316,7 +316,7 @@ gst_uri_decode_bin_class_init (GstURIDecodeBinClass * klass)
|
|||
g_signal_new ("autoplug-continue", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstURIDecodeBinClass,
|
||||
autoplug_continue), _gst_boolean_accumulator, NULL,
|
||||
gst_play_marshal_BOOLEAN__OBJECT_OBJECT, G_TYPE_BOOLEAN, 2, GST_TYPE_PAD,
|
||||
gst_play_marshal_BOOLEAN__OBJECT_BOXED, G_TYPE_BOOLEAN, 2, GST_TYPE_PAD,
|
||||
GST_TYPE_CAPS);
|
||||
|
||||
/**
|
||||
|
@ -335,7 +335,7 @@ gst_uri_decode_bin_class_init (GstURIDecodeBinClass * klass)
|
|||
g_signal_new ("autoplug-factories", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstURIDecodeBinClass,
|
||||
autoplug_factories), _gst_array_accumulator, NULL,
|
||||
gst_play_marshal_BOXED__OBJECT_OBJECT, G_TYPE_VALUE_ARRAY, 2,
|
||||
gst_play_marshal_BOXED__OBJECT_BOXED, G_TYPE_VALUE_ARRAY, 2,
|
||||
GST_TYPE_PAD, GST_TYPE_CAPS);
|
||||
|
||||
/**
|
||||
|
@ -357,7 +357,7 @@ gst_uri_decode_bin_class_init (GstURIDecodeBinClass * klass)
|
|||
g_signal_new ("autoplug-select", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstURIDecodeBinClass,
|
||||
autoplug_select), _gst_select_accumulator, NULL,
|
||||
gst_play_marshal_ENUM__OBJECT_OBJECT_OBJECT,
|
||||
gst_play_marshal_ENUM__OBJECT_BOXED_OBJECT,
|
||||
GST_TYPE_AUTOPLUG_SELECT_RESULT, 3, GST_TYPE_PAD, GST_TYPE_CAPS,
|
||||
GST_TYPE_ELEMENT_FACTORY);
|
||||
|
||||
|
|
Loading…
Reference in a new issue