gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-340-g6b75169
Date: Wed, 18 May 2011 15:29:33 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  6b75169f001d96803ea55eb3d8ed5df5812948de (commit)
      from  57d0d284611e1dad0d9fc4791e294d23f5850513 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=6b75169f001d96803ea55eb3d8ed5df5812948de


commit 6b75169f001d96803ea55eb3d8ed5df5812948de
Author: Sandro Santilli <address@hidden>
Date:   Wed May 18 17:28:52 2011 +0200

    Do not complain about unexistent media handler if none was specified. Fixes 
bug #33339.

diff --git a/gui/Player.cpp b/gui/Player.cpp
index 193dc86..4dfe69a 100644
--- a/gui/Player.cpp
+++ b/gui/Player.cpp
@@ -429,7 +429,7 @@ Player::run(int argc, char* argv[], const std::string& 
infile,
 
     _mediaHandler.reset(media::MediaFactory::instance().get(_media));
 
-    if (!_mediaHandler.get()) {
+    if (!_media.empty() && !_mediaHandler.get()) {
         boost::format fmt =
             boost::format(_("Non-existent media handler %1% specified"))
             % _media;

-----------------------------------------------------------------------

Summary of changes:
 gui/Player.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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