[cheese/wip/albfan/x-h264: 2/2] Allow gstreamer to stream camera
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/wip/albfan/x-h264: 2/2] Allow gstreamer to stream camera
- Date: Thu, 10 Sep 2020 08:41:35 +0000 (UTC)
commit bbebc0b9ef61d41e4ccd5e0a30622dde8cd0588e
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Thu Sep 10 10:41:20 2020 +0200
Allow gstreamer to stream camera
This change fails to stream the camera right now
libcheese/cheese-camera-device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libcheese/cheese-camera-device.c b/libcheese/cheese-camera-device.c
index 83bd4de6..6a5770e7 100644
--- a/libcheese/cheese-camera-device.c
+++ b/libcheese/cheese-camera-device.c
@@ -549,7 +549,7 @@ cheese_camera_device_get_caps (CheeseCameraDevice *device)
caps = gst_device_get_caps (priv->device);
if (caps == NULL)
- caps = gst_caps_new_empty_simple ("video/x-raw");
+ caps = gst_caps_new_empty_simple ("video/x-h264");
gst_caps_unref (priv->caps);
priv->caps = cheese_camera_device_filter_caps (device, caps, supported_formats);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]