When opening a file with GStreamer:
authorNils Hasler <no@email>
Wed, 13 Apr 2011 07:15:35 +0000 (07:15 +0000)
committerNils Hasler <no@email>
Wed, 13 Apr 2011 07:15:35 +0000 (07:15 +0000)
commit56b206dc7b5c486e29f94305a2d5601e8c293ca9
tree426a9d501a28c785385ead02ba2d80062d8ee788
parentb906ad31086136f80c07759235ecd25aaba07d64
When opening a file with GStreamer:
* if the filename looks like a URI, it is opened in non-blocking mode, cvQueryFrame() could skip frames or grab one frame more than once
* if the filename looks like a filename, it is opened in blocking mode. cvQueryFrame() grabs consecutive frames
* otherwise the filename is interpreted as a gstreamer pipeline as used with gst-launch. The last element of the pipeline has to have the property name=to-opencv
modules/highgui/src/cap_gstreamer.cpp