niimaqsrc: add avoid copy mode

Unfortunately IMAQ only lets you examine one buffer at a time, and elements
like queue store up multiple buffers, so avoid-copy=TRUE can only be used in
pipelines without queues or other such elements.

Also, make property strings static.
This commit is contained in:
Joshua M. Doe
2012-07-03 02:55:34 -04:00
parent 24b7fa4fc3
commit d6fe385cb9
2 changed files with 62 additions and 19 deletions

View File

@@ -52,6 +52,7 @@ struct _GstNiImaqSrc {
/* properties */
gchar *interface_name;
gint bufsize;
gboolean avoid_copy;
/* image info */
GstVideoFormat format;