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: Bastiaan Jacques
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2209-gf5016cc
Date: Wed, 09 Sep 2015 19:35:13 +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  f5016cc9399c9ffd3c5d32c67bb28fac285559c6 (commit)
      from  775c5fec09e895e61434d80da1e30c54d3377905 (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=f5016cc9399c9ffd3c5d32c67bb28fac285559c6


commit f5016cc9399c9ffd3c5d32c67bb28fac285559c6
Author: Bastiaan Jacques <address@hidden>
Date:   Wed Sep 9 21:25:31 2015 +0200

    Compilation fix. See Savannah #44636.
    
    Also skip useless NULL check.

diff --git a/gui/gtk/gtk_glue_agg_vaapi.cpp b/gui/gtk/gtk_glue_agg_vaapi.cpp
index 1eda283..6209e89 100644
--- a/gui/gtk/gtk_glue_agg_vaapi.cpp
+++ b/gui/gtk/gtk_glue_agg_vaapi.cpp
@@ -301,11 +301,9 @@ 
GtkAggVaapiGlue::getVideoWindow(std::shared_ptr<VaapiSurface> surface,
         return NULL;
 
     if (!context->getData()) {
-        std::unique_ptr<VaapiContextData> contextData;
-        contextData.reset(new VaapiVideoWindow(parent_window, rect));
-        if (!contextData.get())
-            return NULL;
-        context->setData(contextData);
+        context->setData(
+            std::unique_ptr<VaapiContextData>(
+                new VaapiVideoWindow(parent_window, rect)));
     }
     return dynamic_cast<VaapiVideoWindow *>(context->getData());
 }

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

Summary of changes:
 gui/gtk/gtk_glue_agg_vaapi.cpp |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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