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 565441 - Smoke encoder doesn't set caps correctly
Smoke encoder doesn't set caps correctly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: 0.10.14
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-23 10:35 UTC by Xavier Queralt
Modified: 2009-01-23 08:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier Queralt 2008-12-23 10:35:34 UTC
Linking the encoder to the gdppay element produces the following error:

ERROR: from element /GstPipeline:pipeline0/GstGDPPay:gdppay0: The stream is in the wrong format.
Additional debug info:
gstgdppay.c(656): gst_gdp_pay_chain (): /GstPipeline:pipeline0/GstGDPPay:gdppay0:
first received buffer does not have caps set

And this is the used pipeline:

$ gst-launch videotestsrc ! ffmpegcolorspace ! smokeenc ! gdppay ! fakesink

Which works correctly with another encoder like theoraenc.

I've gone through the different commits on that encoder and I think that the regression was introduced on the following commit (reverting it allows the pipeline to work):

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/ext/jpeg/gstsmokeenc.c?r1=1.19&r2=1.20
Comment 1 Wim Taymans 2008-12-23 12:10:50 UTC
        * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_init),
        (gst_smokeenc_getcaps), (gst_smokeenc_setcaps),
        (gst_smokeenc_chain), (gst_smokeenc_change_state):
        * ext/jpeg/gstsmokeenc.h:
        Implement getcaps function.
        Set caps on the pad and on all outgoing buffers.
        Fixes #565441.