Commit 09427907 authored by Thibault Saunier's avatar Thibault Saunier

tools: Add support for CameraSource pipeline description

parent 5d51c45b
Pipeline #43044 passed with stages
in 43 minutes and 16 seconds
......@@ -193,8 +193,13 @@ print_device (GstDevice * device, gboolean modified)
str = get_launch_line (device);
if (gst_device_has_classes (device, "Source"))
g_print ("\tgst-launch-1.0 %s ! ...\n", str);
if (gst_device_has_classes (device, "Sink"))
else if (gst_device_has_classes (device, "Sink"))
g_print ("\tgst-launch-1.0 ... ! %s\n", str);
else if (gst_device_has_classes (device, "CameraSource")) {
g_print ("\tgst-launch-1.0 %s.vfsrc name=camerasrc ! ... "
"camerasrc.vidsrc ! [video/x-h264] ... \n", str);
}
g_free (str);
g_print ("\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment