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

Submitter:  Sandro Santilli <strk>
Submitted:  Fri 15 Apr 2011 08:26:08 AM UTC
   
 
Category:  sound-gst Severity:  3 - Normal
Priority:  5 - Normal Release:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>
Group 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

Logs:

 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>
Group Member

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

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

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code