mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
tools: Add support for CameraSource pipeline description
This commit is contained in:
parent
df35256dad
commit
e8a907e413
1 changed files with 6 additions and 1 deletions
|
@ -214,8 +214,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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue