GNOME Bugzilla – Bug 312947
Making single frame snapshots with the snapshot plugin is not possible
Last modified: 2005-09-24 11:12:18 UTC
Add a one-shot parameter that makes a snapshot of the next frame and then set's the snapshot plugin to it's normal state again. Other information:
Created attachment 50422 [details] [review] Proposed improvements
You can already do single shot snapshots with gulong id; id = g_signal_connect (snapshot, "snapshot", ....); and then later do g_signal_handler_disconnect (snapshot, id); Your solution is slightly more convenient of course ;) Cheers -Tim
so.. does this patch add a functionality? I've never used the snapshot element so i don't know..
Yes and no :) While tim's method works you still need a way to figure out the id of the next frame, to instruct the element to make a snapshot of the frame with that specific id. My proposal just instructs snapshot to act on the next frame passing through the element. Regards, Wouter
ok, seems useful, committed with minor cosmetic fix. thanks for the patch!