[gstreamer-bugs] [Bug 303962] decodebin/typefind can cause premature EOS events

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Jun 9 07:11:50 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=303962
 GStreamer | gst-plugins | Ver: 0.8.10

Ronald Bultje changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #46380|0                           |1
        is obsolete|                            |



------- Additional Comments From Ronald Bultje  2005-06-09 14:11 -------
Created an attachment (id=47505)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=47505&action=view)
updated testcase

Hi Mark,

Your testcase does not work out of the box for various reasons:
* it has no class that decodebin will handle (changed to Codec/Decoder/Video)
* it has no rank (changed to PRIMARY)
* decodebin plugs to raw (changed src template caps to video/x-raw-yuv)

Also, it requires me to remove other typefind functions
* set typefind rank to max + 1

Now, it works out of the box. I.e., I can add this to gst/typefind/, make it
its own plugin, compile, run gst-register and run your pipeline gst-launch
filesrc location=file.png ! decodebin ! filesink location=/tmp/file2.png to see
what happens (I don't need a sandbox or anything). typefind will only handle
this typefind function (see the logs), type will be found, it plugs the dummy
element and filesink links to that. Also see the
--gst-debug=typefind:5,decodebin:5,dummy:5 output. All fine so far.

$ diff /tmp/file.png /tmp/file2.png
$

In other words, all data from file.png was copied nicely to file2.png; no EOS
issues or lack of data. Your test case is either invalid (becuase of the
above), in which case something else is causing issues; or it is incomplete, in
which case I'd hereby like to ask you to update my testcase until it fails.
I'll set this bug to NEEDINFO until you've been able to update it.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list