Commit f6dad2e8 authored by Stefan Kost's avatar Stefan Kost
Browse files

snapshot: use a keyframe seek

One would usualy get good quality snapshots quickly. The exact seek position
does not really matter.
parent 5075b891
......@@ -99,8 +99,8 @@ main (int argc, char *argv[])
* by seeking to somewhere else we have a bigger chance of getting something
* more interesting. An optimisation would be to detect black images and then
* seek a little more */
gst_element_seek_simple (pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,
gst_element_seek_simple (pipeline, GST_FORMAT_TIME,
/* get the preroll buffer from appsink, this block untils appsink really
* prerolls */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment