After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544956 - [videobox] segfault when changing properties at running pipeline
[videobox] segfault when changing properties at running pipeline
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Windows
: Normal critical
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-27 10:32 UTC by Thomas Löwe
Modified: 2008-08-21 12:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Löwe 2008-07-27 10:32:31 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
Comment 1 Wim Taymans 2008-08-20 11:01:00 UTC
        * 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.
Comment 2 Thomas Löwe 2008-08-21 12:18:27 UTC
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?