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 122992 - when using gst-launch to play a file with the modplug plugin never exits
when using gst-launch to play a file with the modplug plugin never exits
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.3
Other Linux
: Normal normal
: 0.8.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-23 02:18 UTC by James Cook
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple .s3m file from the modplug distribution. (20.31 KB, application/octet-stream)
2003-09-25 13:21 UTC, James Cook
Details

Description James Cook 2003-09-23 02:18:15 UTC
I've tried a variety of module files and haven't ever seen the modplug
player exit properly once playback is complete.  I'm using the set of 0.6.3
RPMS from rawhide added to a stock RedHat 9 install.  OGGs, MP3s and FLACs
play and then exit correctly.  The mikmod plugin, aside from spamming the
console about "element mikmod0 performs a yield", also exhibits the same
problem of not exiting.  This is both when specified on the commandline ala:

gst-launch filesrc location=some.mod ! modplug ! osssink

as well as:

gst-launch filesrc location=some.mod ! spider ! osssink

Also, as an addendum, .s3m files aren't correctly detected by
gst-launch-ext or by spider.  gst-launch-ext complains that it doesn't know
what decoder to use.  Spider attempts to use the ffmpeg library and then
proceeds to coredump (probably since I don't have ffmpeg installed - but
still).
Comment 1 Jeremy Simon 2003-09-25 06:51:35 UTC
What do you mean by 'not properly exit' ?
Mikmod is broken, I working on it ...
Can you put your mod song online ?
Comment 2 James Cook 2003-09-25 13:20:21 UTC
By not properly exit, I mean that once gst-launch has been run to play
a mod, it never exits despite the song ending.  So, the music plays
until the end of the song is reached but the program never terminates.
 This is different than when you play an mp3 or an ogg.  I observe
this behavior regardless of any kind of mod that I play through
modplug or mikmod.  Any other kind of decoder seems to work correctly.
Comment 3 James Cook 2003-09-25 13:21:15 UTC
Created attachment 20280 [details]
Simple .s3m file from the modplug distribution.
Comment 4 Jeremy Simon 2003-09-25 21:41:16 UTC
there is spider problem for files that smaller than 8 Ko for 0.6.3 and
smaller than 150 Ko for 0.6.x CVS

Did you test your file with 0.6.3 or CVS ?
Comment 5 James Cook 2003-09-26 03:43:04 UTC
I've used both 0.6.3 rpms from rawhide and 0.6.2 rpms from freshrpms.
 This weekend, I hope to set aside some time to try and build the CVS
version and give that a whirl.

I've tried mods of various sizes, some over 150k so that shouldn't be
an issue.  Spider also has trouble identifying mods so I generally
force the use of the modplug decoder.
Comment 6 Thomas Vander Stichele 2004-02-24 17:54:51 UTC
what's the status on this ?
Comment 7 David Schleef 2004-03-18 20:26:39 UTC
The attached file works fine in 0.8.0.  Marking as fixed.