GNOME Bugzilla – Bug 732559
identity: Should proxy accept-caps query
Last modified: 2014-07-04 12:57:43 UTC
Problem: When trying to record from an h264 rtsp stream, I get 'Internal data flow' errors for pipelines that worked in previous versions of gstreamer. The following pipeline posts an 'Internal data flow error' after running the following pipeline with gst-launch : - rtspsrc ! rtph264depay ! identity ! h264parse ! matroskamux ! fakesink This pipeline does not work in v1.3.90, but does work in v1.2.4. However, if the identity element is removed or placed after h264parse, the pipeline functions properly eg. - rtspsrc ! rtph264depay ! h264parse ! identity ! matroskamux ! fakesink Also, if matroskamux is taken out of the pipeline, the identity element can be placed anywhere and the pipeline will function properly.
We had the same bug in aacparse at some point. Let's fix it :)
Actually it's the same bug one element further. See bug #705024 for details.
(In reply to comment #1) > We had the same bug in aacparse at some point. Let's fix it :) It would be awesome if we could also fix bug #732239 along the way. :) (somewhat more complex though)
commit b5936efc9866eb1a171247150c28d18f874b5718 Author: Sebastian Dröge <sebastian@centricular.com> Date: Tue Jul 1 19:17:11 2014 +0200 identity: Proxy the accept-caps query We always work in passthrough mode so there's no point in doing something more clever in basetransform. Also the basetransform code leads to problems with incomplete caps and downstream elements that use GST_PAD_FLAG_ACCEPT_INTERSECT. https://bugzilla.gnome.org/show_bug.cgi?id=732559
That resolved it. Thanks for the fix :)