[gstreamer-bugs] [Bug 148332] - link renegotiation problem [regression]

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun Jul 25 14:37:35 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=148332
GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Additional Comments From t.i.m at zen.co.uk  2004-07-25 17:37 -------
Looks like this commit fixed the main problem: 
 
2004-07-25  Benjamin Otte  <otte at gnome.org> 
 
        * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link): 
          don't delay links on the sink elements, it causes unnegotiated 
          links. 
        * gst/elements/gsttypefindelement.c: 
        (gst_type_find_element_base_init): 
          add our padtemplates, we indeed do have some. 
        * gst/elements/gsttypefindelement.c: 
        (gst_type_find_element_handle_event), 
        (gst_type_find_element_chain): 
          don't push data when typefinding failed. 
        * gst/gstpad.c: (gst_pad_link_fixate): 
          check that no fixate function returns empty caps. 
        * gst/gstpad.c: (gst_pad_push): 
          check that the link is negotiated before data gets pushed. 
        * tools/gst-register.c: (main): 
          don't assert (fixes #148283) 
 
 
I still get a 
 
  GStreamer-Warning **: pushing data on non-negotiated pad audioscale:src, not 
allowed 
 
when re-linking (stack trace below), but things seem to work again anyway.  
 
I don't have time to write a test case at the moment, sorry. Still moving home 
etc.  
 
Cheers 
 -Tim 
 
-------------- 
 
Stack trace from the above warning: 
 
Playing: foo.mp3 
 
GStreamer-WARNING **: pushing data on non-negotiated pad audioscale:src, not 
allowed. 
aborting... 
 
Program received signal SIGABRT, Aborted. 
[Switching to Thread 1102605232 (LWP 28642)] 
0x40853f19 in raise () from /lib/tls/libc.so.6 
(gdb) bt 
#0  0x40853f19 in raise () from /lib/tls/libc.so.6 
#1  0x40855771 in abort () from /lib/tls/libc.so.6 
#2  0x407b28c7 in g_logv () from /usr/lib/libglib-2.0.so.0 
#3  0x407b2904 in g_log () from /usr/lib/libglib-2.0.so.0 
#4  0x40519075 in gst_pad_push (pad=0x82ef960, data=0x80bb8ac) at 
gstpad.c:3185 
#5  0x41980608 in gst_audioscale_chain (pad=0x82ef558, _data=0x80bb8ac) at 
gstaudioscale.c:424 
#6  0x4051c274 in gst_pad_call_chain_function (pad=0x82ef558, data=0x80bb8ac) 
at gstpad.c:4398 
#7  0x40518e1d in gst_pad_push (pad=0x82edf10, data=0x80bb8ac) at 
gstpad.c:3213 
#8  0x419791fa in gst_audio_convert_chain (pad=0x82ed9e0, data=0x80bb33c) at 
gstaudioconvert.c:283 
#9  0x4051c274 in gst_pad_call_chain_function (pad=0x82ed9e0, data=0x80bb33c) 
at gstpad.c:4398 
#10 0x40518e1d in gst_pad_push (pad=0x82f08a0, data=0x80bb33c) at 
gstpad.c:3213 
#11 0x419727a5 in gst_spider_identity_chain (pad=0x5, buf=0x80bb33c) at 
gstspideridentity.c:222 
#12 0x4197367f in gst_spider_identity_dumb_loop (ident=0x8308e70) at 
gstspideridentity.c:446 
#13 0x40d195d6 in loop_group_schedule_function (argc=0, argv=0x8102ec0) at 
gstoptimalscheduler.c:1344 
#14 0x40d18eaf in schedule_group (group=0x8102ec0) at 
gstoptimalscheduler.c:1170 
#15 0x40d190fe in gst_opt_scheduler_schedule_run_queue (osched=0x82ef620) at 
gstoptimalscheduler.c:1217 
#16 0x40d1925a in schedule_chain (chain=0x82f02c0) at 
gstoptimalscheduler.c:1270 
#17 0x40d1d04f in gst_opt_scheduler_iterate (sched=0x82ef620) at 
gstoptimalscheduler.c:2603 
#18 0x40526969 in gst_scheduler_iterate (sched=0x82ef620) at 
gstscheduler.c:705 
#19 0x404f6078 in gst_bin_iterate_func (bin=0x82f0460) at gstbin.c:1152 
#20 0x4053e319 in gst_marshal_BOOLEAN__VOID (closure=0x80b1b58, 
return_value=0x41b86770, n_param_values=1, param_values=0x0, 
    invocation_hint=0x41b86798, marshal_data=0x404f5ff0) at gstmarshal.c:472 
#21 0x40608fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 
#22 0x40608c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 
#23 0x4061c685 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 
#24 0x4061b9ee in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 
#25 0x4061bf14 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 
#26 0x404f626b in gst_bin_iterate (bin=0x82f0460) at gstbin.c:1205 
#27 0x40530cb3 in gst_thread_main_loop (arg=0x0) at gstthread.c:590 
#28 0x407c48dd in g_static_private_free () from /usr/lib/libglib-2.0.so.0 
#29 0x407799b4 in start_thread () from /lib/tls/libpthread.so.0 
#30 0x00000000 in ?? () 
(gdb) 
 

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list