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 324000 - [playbin] post error or message on unknown input
[playbin] post error or message on unknown input
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: High normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 324450 327091
 
 
Reported: 2005-12-13 18:07 UTC by Arwed v. Merkatz
Modified: 2006-02-04 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arwed v. Merkatz 2005-12-13 18:07:39 UTC
Currently if you give playbin something unrecognizable like a html file as
input, you get the following output and no message at all on the bus:
** (lt-vidplay:26296): WARNING **: no type on pad decoder:src0

Instead of that it should probably send an error message to the bus so the
application can handle it.
Comment 1 Arwed v. Merkatz 2005-12-13 18:10:00 UTC
The same applies for filetypes it recognizes but that can't be read, you get a
message like:
** Message: don't know how to handle application/x-bzip
And nothing at all on the bus.
Comment 2 Tim-Philipp Müller 2006-02-04 15:20:11 UTC
I think this is fixed now, minus any demuxers not signalling no-more-pads for some reason at least:


tim@flap:/media/samples$ gst-launch-0.10 playbin uri=file:///media/samples/random.data
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /playbin0/decoder/typefind: Could not determine type of stream.


tim@flap:/media/samples$ gst-launch-0.10 playbin uri=http://freedesktop.org/~tpm/random.data
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /playbin0/decoder/typefind: Could not determine type of stream.


tim@flap:/media/samples$ gst-launch-0.10 playbin uri=file:///media/samples/random.bz2
Setting pipeline to PAUSED ...
** Message: don't know how to handle application/x-bzip
Pipeline is PREROLLING ...
ERROR: from element /playbin0: "file:///media/samples/random.bz2" is not a media file


tim@flap:~/gst-plugins-ugly/gst/realmedia$ gst-launch-0.10 playbin uri=file:///media/samples/bugs/153263.rm
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
** Message: don't know how to handle audio/x-sipro, flavor=(int)3, rate=(int)16000, channels=(int)1, width=(int)16, leaf_size=(int)0, packet_size=(int)320, height=(int)6
ERROR: from element /playbin0: You do not have a decoder installed to handle "file:///media/samples/bugs/153263.rm".  You might need to install the necessary plugins.


Please re-open or file a new bug if you still have cases where this doesn't work right.