bugGnash - The GNU Flash player - Bugs: bug #33087, GST: easysound.swf fails to load...


bug #33087: GST: easysound.swf fails to load an event sound

Submitted by:  Sandro Santilli <strk>
Submitted on:  Fri 15 Apr 2011 08:26:08 AM UTC  
Category: sound-gstSeverity: 3 - Normal
Release: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 15 Jul 2011 10:53:39 AM UTC, comment #1:

See bug #33760 for a related bug; here onLoad is apparently called with false, in that bug onLoad is never called, which means that parsingCompleted() is never true.

Benjamin Wolsey <bwy>
Project Member
Fri 15 Apr 2011 08:26:08 AM UTC, original submission:

Using easysound.swf as a testcase (you can find sources of it in testsuite/misc-ming.all/easysound.as) you can see that while FFMPEG media handler succeeds in Load/Start a non-streaming sound GST fails there.

In particular, with GST you get onLoad(false) called while with FFMPEG you get onLoad(true).

This is as of 6b478714a7264187cce8bd6d24c458ed94441843


25942:1] 10:14:09 DEBUG: MediaParserGst/typefound: Detected media type application/x-id3
25942:1] 10:14:09 DEBUG: Needed 0 dead iterations to detect audio type.
25942:1] 10:14:09 DEBUG: Starting MediaParser thread
25942:1] 10:14:09 TRACE: onLoad(false)

The only way for onLoad(false) to be called is from Sound_as.cpp:

if ( _mediaParser->parsingCompleted() )
_soundLoaded = true;
if ( ! isStreaming )
stopProbeTimer(); // will be re-started on Sound.start()
bool success = _mediaParser->getAudioInfo() != 0;
callMethod(&owner(), NSV::PROP_ON_LOAD, success);

So I suspect MediaParserGst::parsingCompleted() is returning
true while MediaParserGst::getAudioInfo() is returning 0.

Sandro Santilli <strk>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by strk (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1