[gst-devel] Another weird difference [Re: v4l2src not working when pipeline is placed in a bin, but it works for videotestsrc]
Edgard Lima
edgard.lima at indt.org.br
Tue Oct 16 08:11:00 CEST 2007
Hi, Jaap ... it is already fixed on CVS
Thanks Wim
BR
Edgard
Wim Taymans changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.15
------- Comment #1 from Wim Taymans 2007-10-15 11:36 UTC -------
* plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
(gst_single_queue_new):
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_push_one):
Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
upstream is tricked into thinking it can suggest a format downstream
while downstream does not support that format. The real problem
is that
core calls acceptcaps when pushing a buffer with new caps, for
which we
do a little workaround by setting the caps on the srcpad ourselves
before pushing the buffer (until this is figured out). Fixes
#486758.
ext Jaap Haitsma wrote:
> Hi,
>
> I just found another weird difference (happening in CVS and latest stable
>
> If I run the following pipeline:
>
> gst-launch v4l2src ! ffmpegcolorspace ! queue ! ximagesink
>
> and try to change the window size gstreamer crashes:
>
> ERROR: from element /pipeline0/v4l2src0: Internal data flow error.
> Additional debug info:
> gstbasesrc.c(1816): gst_base_src_loop (): /pipeline0/v4l2src0:
> streaming task paused, reason not-negotiated (-4)
>
> If I replace v4l2src with videotestsrc it works fine. Also if I change
> the pipeline to
>
> gst-launch v4l2src ! ffmpegcolorspace ! queue ! identity ! ximagesink
>
> it works fine.
>
> Is this a bug or something that can be explained with how gstreamer works
>
> Jaap
>
> PS I need the queue because I'm writing an application where I need to
> tee the video stream. The above pipelines
>
>
> On 10/9/07, Tim Müller <t.i.m at zen.co.uk> wrote:
>> On Sun, 2007-10-07 at 18:32 +0200, Jaap Haitsma wrote:
>>
>>> I'm having trouble getting a v4l2src (a webcam) to work when it's part
>>> of a bin and subsequently placed in a pipeline the attached code is a
>>> minimal example, where it occurs. (put Makefile and gst-bin-test.c in
>>> a directory and run make)
>>> ...
>>> Any ideas what I'm doing wrong here? Or is this a bug?
>> I can reproduce the problem with core/base 0.10.14 and v4l2src from CVS.
>> Works fine with core/base from CVS though, so I guess whatever it was
>> it's been fixed now.
>>
>> Cheers
>> -Tim
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list