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-2295-ge90fc76
Date: Tue, 31 Jan 2017 14:58:17 +0000 (UTC)

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  e90fc76cd653c5ecb481d845ae07c96715412443 (commit)
      from  49ad8249663616938ad34edf35825d93a31740ff (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/gnash.git/commit/?id=e90fc76cd653c5ecb481d845ae07c96715412443


commit e90fc76cd653c5ecb481d845ae07c96715412443
Author: Sandro Santilli <address@hidden>
Date:   Tue Jan 31 15:57:40 2017 +0100

    Fix logical error in GST decoder initialization
    
    See http://lists.gnu.org/archive/html/gnash-dev/2017-01/msg00001.html

diff --git a/libmedia/gst/swfdec_codec_gst.c b/libmedia/gst/swfdec_codec_gst.c
index 6a62345..2cdf506 100644
--- a/libmedia/gst/swfdec_codec_gst.c
+++ b/libmedia/gst/swfdec_codec_gst.c
@@ -268,7 +268,7 @@ swfdec_gst_colorspace_init (SwfdecGstDecoder *dec, GstCaps 
*srccaps, GstCaps *si
   gst_pad_set_chain_function (dec->sink, swfdec_gst_chain_func);
   dec->queue = g_queue_new ();
   g_object_set_data (G_OBJECT (dec->sink), "swfdec-queue", dec->queue);
-  if (!gst_element_set_state (dec->bin, GST_STATE_PLAYING) == 
GST_STATE_CHANGE_SUCCESS) {
+  if (gst_element_set_state (dec->bin, GST_STATE_PLAYING) != 
GST_STATE_CHANGE_SUCCESS) {
     SWFDEC_ERROR ("could not change element state");
     return FALSE;
   }
@@ -326,7 +326,7 @@ swfdec_gst_decoder_init (SwfdecGstDecoder *dec, GstCaps 
*srccaps, GstCaps *sinkc
   gst_pad_set_chain_function (dec->sink, swfdec_gst_chain_func);
   dec->queue = g_queue_new ();
   g_object_set_data (G_OBJECT (dec->sink), "swfdec-queue", dec->queue);
-  if (!gst_element_set_state (dec->bin, GST_STATE_PLAYING) == 
GST_STATE_CHANGE_SUCCESS) {
+  if (gst_element_set_state (dec->bin, GST_STATE_PLAYING) != 
GST_STATE_CHANGE_SUCCESS) {
     SWFDEC_ERROR ("could not change element state");
     return FALSE;
   }

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

Summary of changes:
 libmedia/gst/swfdec_codec_gst.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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