[longomatch] capturer: do not sync in sinks to get a fluid preview
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] capturer: do not sync in sinks to get a fluid preview
- Date: Tue, 9 Apr 2013 16:48:20 +0000 (UTC)
commit 59e93b79910dcf8dd6d503227486543f12b29abf
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Apr 9 18:32:46 2013 +0200
capturer: do not sync in sinks to get a fluid preview
libcesarplayer/gst-camera-capturer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index 5952615..3c239fe 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -1262,7 +1262,7 @@ gst_camera_capturer_create_preview(GstCameraCapturer *gcc)
v_decoder = gst_element_factory_make("decodebin2", "preview-decoder");
video_bin = gst_parse_bin_from_description(
- "videoscale ! ffmpegcolorspace ! autovideosink name=videosink", TRUE, NULL);
+ "videoscale ! ffmpegcolorspace ! " DEFAULT_VIDEO_SINK " name=videosink sync=false", TRUE, NULL);
gcc->priv->preview_bin = gst_bin_new("preview_bin");
gst_bin_add_many (GST_BIN(gcc->priv->preview_bin), v_decoder, video_bin, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]