gst-libs/gst/app/gstappsink.c: Store the returned signal id in the right slot when registering the pull-buffer signal.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c:
Store the returned signal id in the right slot when
registering the pull-buffer signal.
Fixes #567168
Spotted by: Thomas Vander Stichele  <thomas at apestaart dot org>
This commit is contained in:
Jan Schmidt 2009-01-09 23:13:17 +00:00
parent d629c9fc17
commit 80ac3b565e
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2009-01-09 Jan Schmidt <jan.schmidt@sun.com>
* gst-libs/gst/app/gstappsink.c:
Store the returned signal id in the right slot when
registering the pull-buffer signal.
Fixes #567168
Spotted by: Thomas Vander Stichele <thomas at apestaart dot org>
2009-01-09 Tim-Philipp Müller <tim.muller at collabora co uk>
* gst-libs/gst/interfaces/mixer.c:

View file

@ -353,7 +353,7 @@ gst_app_sink_class_init (GstAppSinkClass * klass)
*
* Returns: a #GstBuffer or NULL when the appsink is stopped or EOS.
*/
gst_app_sink_signals[SIGNAL_PULL_PREROLL] =
gst_app_sink_signals[SIGNAL_PULL_BUFFER] =
g_signal_new ("pull-buffer", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstAppSinkClass,
pull_buffer), NULL, NULL, gst_app_marshal_OBJECT__VOID,