[longomatch] Fix dshowvideosrc negotation forcing dv systemstream=True
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix dshowvideosrc negotation forcing dv systemstream=True
- Date: Tue, 9 Apr 2013 16:48:25 +0000 (UTC)
commit 73f089f53317df56a712c6c882c98692a9e558e5
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Apr 9 18:34:28 2013 +0200
Fix dshowvideosrc negotation forcing dv systemstream=True
libcesarplayer/gst-camera-capturer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index 3c239fe..35d8bd5 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -1395,7 +1395,9 @@ gst_camera_capturer_create_video_source (GstCameraCapturer * gcc,
* since the device is set in getcaps and can't be changed later */
if (!g_strcmp0 (gcc->priv->source_element_name, "dshowvideosrc")) {
source_str = g_strdup_printf("%s device-name=\"%s\" name=source ! "
- "typefind name=typefind", source_desc, gcc->priv->device_id);
+ "video/x-raw-yuv; video/x-raw-rgb; "
+ "video/x-dv, systemstream=(boolean)True "
+ "! typefind name=typefind", source_desc, gcc->priv->device_id);
} else {
source_str = g_strdup_printf("%s name=source %s ! typefind name=typefind",
source_desc, filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]