gst-inspect: Don't setup pager too early
authorSeungha Yang <seungha.yang@navercorp.com>
Thu, 17 Jan 2019 02:22:27 +0000 (11:22 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Thu, 17 Jan 2019 11:51:54 +0000 (20:51 +0900)
commit4b55be4728bd17e78b0fde97159174f9a8a4911d
tree4fc767e7cd257419b2e98cb34a4dc45845e1cec4
parent56b4fbef5e6760adc927d0e1c7c8d6a0db9b785c
gst-inspect: Don't setup pager too early

Setup it only if we have something to print out about inspected results.
Otherwise, gst_tools_print_version() output will be redirected to pager and also
exit immediately without waiting child process.
tools/gst-inspect.c