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 338716 - [wavenc] "not negotiated" error with CVS core
[wavenc] "not negotiated" error with CVS core
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-16 17:03 UTC by Tim-Philipp Müller
Modified: 2006-04-19 15:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2006-04-16 17:03:10 UTC
$ gst-launch-0.10 audiotestsrc ! wavenc ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /pipeline0/audiotestsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(1479): gst_base_src_loop (): /pipeline0/audiotestsrc0:
streaming task paused, reason not-negotiated
Execution ended after 1216000 ns.

Same for

$ gst-launch-0.10 ... ! decodebin ! audioconvert ! wavenc ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /pipeline0/audiotestsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(1479): gst_base_src_loop (): /pipeline0/audiotestsrc0:
streaming task paused, reason not-negotiated
Execution ended after 1216000 ns.

This is sad.

It should be sad that the not-negotiated error is thrown after an encoded buffer has gone through to fakesink and not right away.
Comment 1 Tim-Philipp Müller 2006-04-18 19:25:55 UTC
Actually, I am not so sure wavenc ever really worked in 0.10, so not a blocker (fixing ..)
Comment 2 Tim-Philipp Müller 2006-04-19 15:17:14 UTC
2006-04-19  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/wavenc/gstwavenc.c: (gst_wavenc_base_init),
        (gst_wavenc_class_init), (gst_wavenc_init),
        (gst_wavenc_create_header_buf), (gst_wavenc_push_header),
        (gst_wavenc_sink_setcaps), (get_id_from_name), (gst_wavenc_event),
        (gst_wavenc_chain), (gst_wavenc_change_state):
        * gst/wavenc/gstwavenc.h:
          Set caps on first outgoing buffer, so that it doesn't error out
          immediately with a non-negotiated error (#338716). Rewrite and
          clean up a bit; fix setcaps function to parse things properly;
          fix sink caps (8bit audio is unsigned and doesn't have depth);
          use boilerplate macros; remove unused properties stuff.