gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #33087] GST: easysound.swf fails to load an event so


From: Sandro Santilli
Subject: [Gnash-commit] [bug #33087] GST: easysound.swf fails to load an event sound
Date: Fri, 15 Apr 2011 08:26:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

URL:
  <http://savannah.gnu.org/bugs/?33087>

                 Summary: GST: easysound.swf fails to load an event sound
                 Project: Gnash - The GNU Flash player
            Submitted by: strk
            Submitted on: Fri 15 Apr 2011 10:26:08 AM CEST
                Category: sound-gst
                Severity: 3 - Normal
                 Release: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33087>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]