when cmake opencv source file,I ever meet with following two cases:
1: system auto detect gstreamer0.1 version, but I want gsreamer1.0
2: system can't detect gstreamer;
--->1 I got this fixed by installing sudo apt install libgstreamer-plugins-base1.0-dev. Before that CMake detected GStreamer version 0.10.36, after that - 1.4.5.
--->2 install libgstreamer1.0-dev