[gstreamer-bugs] [Bug 631774] New: [videotestsrc] [basesrc] calls gst_pad_alloc_buffer() with unfixed caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 9 12:32:42 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=631774
  GStreamer | gst-plugins-base | git

           Summary: [videotestsrc] [basesrc] calls gst_pad_alloc_buffer()
                    with unfixed caps
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Haven't looked what's happening yet, but when running
gst-plugins-bad/tests/icled/output-selector-test, it fails with:

GStreamer-CRITICAL **: gst_pad_set_caps: assertion `caps == NULL ||
gst_caps_is_fixed (caps)' failed

which seems to come from videotestsrc:

#3  0x00007ffff6cb6433 in g_log (log_domain=0x334d <Address 0x334d out of
bounds>, log_level=13138, format=0x6 <Address 0x6 out of bounds>) at
/glib2.0-2.26.0/glib/gmessages.c:577
#4  0x00007ffff7b579ca in gst_pad_set_caps (pad=0x879080, caps=0x8aa380) at
gstpad.c:2649
#5  0x00007ffff7b5a1ed in gst_pad_alloc_buffer_full (pad=0x879080,
offset=<value optimized out>, size=153600, caps=<value optimized out>,
buf=0x7ffff092dbd8, setcaps=<value optimized out>) at gstpad.c:3057
#6  0x00007ffff58267f3 in gst_video_test_src_create (psrc=0x87e2b0,
buffer=0x7ffff092dd88) at gstvideotestsrc.c:855
#7  0x00007ffff55fec22 in gst_base_src_get_range (src=0x87e2b0, offset=<value
optimized out>, length=<value optimized out>, buf=0x7ffff092dd88) at
gstbasesrc.c:2128
#8  0x00007ffff5600cb3 in gst_base_src_loop (pad=0x879080) at gstbasesrc.c:2385
#9  0x00007ffff7b835ab in gst_task_func (task=0x8cc0b0) at gsttask.c:271
#10 0x00007ffff6cd6a0f in g_thread_pool_thread_proxy (data=<value optimized
out>) at /glib2.0-2.26.0/glib/gthreadpool.c:319
#11 0x00007ffff6cd4b44 in g_thread_create_proxy (data=0x8d3160) at
/glib2.0-2.26.0/glib/gthread.c:1897
#12 0x00007ffff6a538ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#13 0x00007ffff67bb02d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()
(gdb) frame 5
#5  0x00007ffff7b5a1ed in gst_pad_alloc_buffer_full (pad=0x879080,
offset=<value optimized out>, size=153600, caps=<value optimized out>,
buf=0x7ffff092dbd8, setcaps=<value optimized out>) at gstpad.c:3057
3057        if (G_UNLIKELY (!gst_pad_configure_src (pad, newcaps, setcaps)))
(gdb) set print elements 0
(gdb) call gst_caps_to_string(newcaps)
$3 = ( gchar *) 0x7fffec001370 "video/x-raw-yuv, format=(fourcc)YV12,
width=(int)320, height=(int)240, framerate=(fraction)30/1,
color-matrix=(string)sdtv, chroma-site=(string)mpeg2; video/x-raw-yuv,
format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1,
color-matrix=(string)sdtv, chroma-site=(string)mpeg2; video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)320, height=(int)240, framerate=(fraction)30/1,
color-matrix=(string)sdtv, chroma-site=(string)mpeg2"

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list