From 4ade52ec5ed490e22352fb49ab881a813ff58f7e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 18 Apr 2005 13:11:33 +0000 Subject: ext/snapshot/gstsnapshot.c: The "snapshot" signal is very useful, but it's better when it's actually emitted. Original commit message from CVS: * ext/snapshot/gstsnapshot.c: (gst_snapshot_chain): The "snapshot" signal is very useful, but it's better when it's actually emitted. --- ext/snapshot/gstsnapshot.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/snapshot') 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); } } -- cgit v1.2.1