gst-libs/gst/app/gstappsink.c: Store the returned signal id in the right slot when...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 9 Jan 2009 23:13:17 +0000 (23:13 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 9 Jan 2009 23:13:17 +0000 (23:13 +0000)
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>

ChangeLog
gst-libs/gst/app/gstappsink.c

index 09aaecc..6eff1f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 8be5385..673426f 100644 (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,