GNOME Bugzilla – Bug 155814
gst_bin_iterate() gets stuck on some images
Last modified: 2004-12-22 21:47:04 UTC
This bug has been reported against Rhythmbox in the first place, but it seems it is a gstreamer parsing problem within the gst_bin_iterate() function. When you add a music folder with some kind of images mixed with the audio files, rhythmbox/gstreamer gets stuck. See Bug#154909 for details.
works: gst-launch-0.8 filesrc location="music/tmp/Cover.jpg" ! typefind ! spider ! audio/x-raw-int ! fakesink loops forever: gst-launch-0.8 gnomevfssrc location="music/tmp/Cover.jpg" ! typefind ! spider ! audio/x-raw-int ! fakesink works: gst-launch-0.8 gnomevfssrc location="music/tmp/Cover.jpg" ! spider ! audio/x-raw-int ! fakesink
Works for me. Does it fail with every file, or just some?
[I just noticed the version was set to HEAD CVS, I am in 0.8.7 from Debian sid] Fails with every image file here. Strangely, it always works with filesrc and not with gnomevfssrc. I tried with location="file:///usr/share/pixmaps/gnome-laptop.png" too, but had no more success. Here are two successive backtraces when the program is in its loop: (gdb) thread apply all bt 5 full
+ Trace 51331
Thread 1 (Thread 1078515584 (LWP 18958))
(More stack frames follow...)
I think this is gone with CVS versions, I just built gstreamer and gst-plugins and ran: ./tools/gst-launch --gst-plugin-path=../gst-plugins/ext/gnomevfs/.libs/ gnomevfssrc location="/usr/share/pixmaps/gnome-laptop.png" ! typefind ! spider ! audio/x-raw-int ! fakesink I got: ERROR: from element /pipeline0/typefindelement0: Could not determine type of stream. ERROR (0x8050920 - 305240:36:33.978059000) scheduler(28527) gstoptimalscheduler.c(2609):gst_opt_scheduler_iterate:<GstOptScheduler@0x8059668> in error state Execution ended after 1 iterations (sum 2734000 ns, average 2734000 ns, min 2734000 ns, max 2734000 ns). ... which is good IMO, and I get the same result with filesrc. I think you can close the bug (and you might want to release! :)
closed as asked by the submitter