[gst-devel] Deadloop when trying to link a tee with 3 sinks.

Peter Cai newptcai at gmail.com
Wed Nov 11 11:41:23 CET 2009


I made some debug and I am sure the deadloop happens when trying to
link tee and the 3rd directdrawsink in
gst_base_transform_transform_caps.

The log also proves that.  "gst_ffmpeg_pixfmt_to_caps" shows again and
again and never ends up.

0:00:05.277242000  5228   00A09B60 DEBUG        basetransform
gstbasetransform.c:624:gst_base_transform_getcaps:<ffmpegcsp0:src> our
template  059698A0
0:00:05.277242000  5228   00A09B60 DEBUG        basetransform
gstbasetransform.c:626:gst_base_transform_getcaps:<ffmpegcsp0:src>
intersected 072D5D60
0:00:05.277242000  5228   00A09B60 DEBUG        basetransform
gstbasetransform.c:464:gst_base_transform_transform_caps:<ffmpegcsp0>
transform caps (direction = 2)
0:00:05.277242000  5228   00A09B60 DEBUG              default
gstffmpegcodecmap.c:417:gst_ffmpeg_pixfmt_to_caps: caps for pix_fmt=0:
072D5E60
0:00:05.277242000  5228   00A09B60 DEBUG              default
gstffmpegcodecmap.c:417:gst_ffmpeg_pixfmt_to_caps: caps for pix_fmt=1:
072D5F40
0:00:05.277242000  5228   00A09B60 DEBUG              default
gstffmpegcodecmap.c:417:gst_ffmpeg_pixfmt_to_caps: caps for pix_fmt=2:
072D5E00
0:00:05.277242000  5228   00A09B60 DEBUG              default
gstffmpegcodecmap.c:417:gst_ffmpeg_pixfmt_to_caps: caps for pix_fmt=3:
072DE000
0:00:05.277242000  5228   00A09B60 DEBUG              default
gstffmpegcodecmap.c:417:gst_ffmpeg_pixfmt_to_caps: caps for pix_fmt=4:
072D5EC0
0:00:05.277242000  5228   00A09B60 DEBUG              default
gstffmpegcodecmap.c:417:gst_ffmpeg_pixfmt_to_caps: caps for pix_fmt=5:
072DE080



On Wed, Nov 11, 2009 at 5:25 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> On Wed, 2009-11-11 at 16:52 +0800, Peter Cai wrote:
>
>> A pipeline like this : appsrc ! decodebin ! ffmpegcolorspace ! tee ! fakesink.
>>
>> Latter the code tried to add 3 directdrawsink to that tee.
>> The first 2 is added just OK
>> But when trying to add the 3rd, it goes into a dead loop
>
> Did you put queues after the tee for each branch? If not, that would
> likely prevent prerolling and hang as you describe (search the mailing
> list archives for tee+queue for an explanation).
>
> Cheers
>  -Tim
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
look to the things around you,the immediate world around you, if you
are alive,it will mean something to you ——Paul Strand




More information about the gstreamer-devel mailing list