summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ext/snapshot/gstsnapshot.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 918b5bc4..a468d764 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-18 Edward Hervey <bilboed@bilboed.com>
+
+ * ext/snapshot/gstsnapshot.c: (gst_snapshot_chain):
+ The "snapshot" signal is very useful, but it's better when it's
+ actually emitted.
+
2005-04-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c
index cc259460..d5589063 100644
--- a/ext/snapshot/gstsnapshot.c
+++ b/ext/snapshot/gstsnapshot.c
@@ -280,6 +280,9 @@ gst_snapshot_chain (GstPad * pad, GstData * _data)
&snapshot->png_info_ptr);
png_destroy_write_struct (&snapshot->png_struct_ptr, (png_infopp) NULL);
fclose (fp);
+
+ g_signal_emit (G_OBJECT (snapshot), gst_snapshot_signals[SNAPSHOT_SIGNAL],
+ 0);
}
}