After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 312947 - Making single frame snapshots with the snapshot plugin is not possible
Making single frame snapshots with the snapshot plugin is not possible
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.10
Other All
: High minor
: 0.8.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-08 22:16 UTC by Wouter Paesen
Modified: 2005-09-24 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed improvements (2.37 KB, patch)
2005-08-08 22:17 UTC, Wouter Paesen
none Details | Review

Description Wouter Paesen 2005-08-08 22:16:48 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:
Comment 1 Wouter Paesen 2005-08-08 22:17:21 UTC
Created attachment 50422 [details] [review]
Proposed improvements
Comment 2 Tim-Philipp Müller 2005-08-09 21:02:08 UTC
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
Comment 3 Luca Ognibene 2005-09-20 19:13:54 UTC
so.. does this patch add a functionality? I've never used the snapshot element
so i don't know..
Comment 4 Wouter Paesen 2005-09-21 08:09:15 UTC
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
Comment 5 Luca Ognibene 2005-09-24 11:12:18 UTC
ok, seems useful, committed with minor cosmetic fix.
thanks for the patch!