Steps to reproduce:
1. open lecturesight.properties
2. set cv.lecturesight.framesource.input.mrl=gst://videotestsrc
3. start LS
After when the FrameSourceManager tries to instantiate the GstFrameSource, the thread halts.
A FrameSource showing the standard Gst video test pattern should be instantiated.
Workaround (if any):
The Gst binding fails to lauch the pipeline throwing an NPE. This happens when there is only one element in the pipeline, probably because it needs at least two elements to have the bus properly initialized.
The implementation should detect this edge case and handle it by instantiating the element itself instead of letting Gst build the pipeline.
Workaround: Add an 'identity' element at the end to make the pipeline have two elements. The identity element just passes on every data it receives.
gst-launch-0.10 videotestsrc ! autovideosink
gst://videotestsrc ! identity
Attached image is the results from:
cv.lecturesight.framesource.input.mrl=gst://videotestsrc ! identity
Looks like a helpful configuration for testing that object detection and templates are behaving correctly.