[longomatch] Don't add two elements with the same name.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Don't add two elements with the same name.
- Date: Wed, 16 Jun 2010 19:58:38 +0000 (UTC)
commit 33cc589c962a466fcbba5cec1406666bab10c776
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Jun 16 21:54:44 2010 +0200
Don't add two elements with the same name.
Only the first queue should be named, which is the one we retrieve later
to link with the demuxer
libcesarplayer/src/gst-camera-capturer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index dd2208a..3045dad 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -960,7 +960,7 @@ gst_camera_capture_create_dv1394_source_bin (GstCameraCapturer * gcc)
demuxer = gst_element_factory_make("ffdemux_dv", NULL);
queue1 = gst_element_factory_make("queue", "source_video_sink");
decoder = gst_element_factory_make("ffdec_dvvideo", NULL);
- queue2 = gst_element_factory_make("queue", "source_video_sink");
+ queue2 = gst_element_factory_make("queue", NULL);
deinterlacer = gst_element_factory_make("ffdeinterlace", NULL);
videorate = gst_element_factory_make("videorate", NULL);
colorspace = gst_element_factory_make("ffmpegcolorspace", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]