gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] [Fwd: YouTube bug with "Restart Movie"]


From: Michael Fötsch
Subject: [Gnash-dev] [Fwd: YouTube bug with "Restart Movie"]
Date: Mon, 23 Mar 2009 19:37:46 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Hi,

Bug #1:

Try, for example, this movie with the GTK browser plug-in:
http://www.youtube.com/watch?v=Yl9PeIcbbsI

The plug-in window is 640 pixels wide, but the movie takes up only 480
pixels. This is expected. (In the Movie Properties dialog, it says "Real
dimensions 480x387", "Rendered dimensions 640x385"). When you click
"Movie Control" -> "Restart Movie", the plug-in window shrinks to 480
pixels, which it shouldn't.

The fix is in gui.cpp, Gui::start():

Do not call resize_view() before "_started = true" (because otherwise,
resize_view() won't call movie_root:set_display_viewport()):

  Gui::start()
  {
      ...
      _stage->setRootMovie( mr.release() );
// MOVE FROM HERE:
      // resize_view(_width, _height);

      // ...
      _started = true;

  // TO HERE:
      resize_view(_width, _height);
  }

I hope this fix is in the correct place.


Bug #2:
What's more serious: When you have a YouTube movie with sound, and you
click "Movie Control" -> "Restart Movie", both the old and the new sound
continue to play simultaneously. You can repeat this any number of
times, each time adding an additional voice.

I have no idea yet what's causing this.


Kind Regards,
M.F.





reply via email to

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