GNOME Bugzilla – Bug 544956
[videobox] segfault when changing properties at running pipeline
Last modified: 2008-08-21 12:18:27 UTC
Hi, using gstreamer 0.10.20/good 0.10.8 the videobox element crashs here if i try to change the top/bottom properties via g_object_set() to add some borders and the pipeline is running. In paused state everything works fine. Tested under windows xp and xubuntu 8.04 with the same result. Can anybody confirm this? Regards, Thomas
* gst/videobox/gstvideobox.c: (gst_video_box_set_property): Use new basetransform method to renegotiate instead of crashing. Fixes #544956. * tests/icles/Makefile.am: * tests/icles/videobox-test.c: (make_pipeline), (main): Add videobox renegotiation example.
Thanks for looking at this. Now the system doesn't crash and the borders work, but the video-output stops and i get the following error when i try to change the properties: "WARN mpeg2dec gstmpeg2dec.c:506:gst_mpeg2dec_alloc_buffer:<VideoDecoder> error: Failed to allocate memory for buffer, reason not-negotiated" Also the videobox-test program runs fine under linux, but no success with directdrawsink under windows: no crash, but the output-window only resizes itself and doesn't update the content correct. Any hints about this?