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 682736 - gst-ffmpeg tries to set caps to NULL
gst-ffmpeg tries to set caps to NULL
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 674179
 
 
Reported: 2012-08-26 17:09 UTC by Sjoerd Simons
Modified: 2012-08-30 18:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
workaround (833 bytes, patch)
2012-08-26 17:09 UTC, Sjoerd Simons
none Details | Review

Description Sjoerd Simons 2012-08-26 17:09:16 UTC
In some conditions gst-ffmpeg tries to set caps to NULL, resulting in assertion failure:

** (lt-empathy-call:2145): CRITICAL **: gst_pad_set_caps: assertion `caps != NULL && gst_caps_is_fixed (caps)' failed

Attached patch simply removed the call, which most likely is the wrong thing to do, but makes the failure go away.
Comment 1 Sjoerd Simons 2012-08-26 17:09:50 UTC
Created attachment 222484 [details] [review]
workaround
Comment 2 Wim Taymans 2012-08-30 18:05:21 UTC
I think the patch is correct, I can't see a reason for setting it to NULL or anything else.

commit ed1ea6f097cfe5c8c52281038dde8494edc8cc2e
Author: Sjoerd Simons <sjoerd@luon.net>
Date:   Sun Aug 26 18:17:17 2012 +0200

    ffmpegenc: Don't try to set caps to NULL
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682736