diff options
author | Edward Hervey <bilboed@bilboed.com> | 2005-04-18 13:11:33 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2005-04-18 13:11:33 +0000 |
commit | 4ade52ec5ed490e22352fb49ab881a813ff58f7e (patch) | |
tree | a1b85c19df4cbe9f197bb6bd28e924bd06885a99 /ext/snapshot | |
parent | 6fc5d76986dedd3defafa72dd98d4e5a35d54d8e (diff) | |
download | gst-plugins-bad-4ade52ec5ed490e22352fb49ab881a813ff58f7e.tar.gz gst-plugins-bad-4ade52ec5ed490e22352fb49ab881a813ff58f7e.tar.bz2 gst-plugins-bad-4ade52ec5ed490e22352fb49ab881a813ff58f7e.zip |
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.
Diffstat (limited to 'ext/snapshot')
-rw-r--r-- | ext/snapshot/gstsnapshot.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } } |