gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/asobj/SoundGst.cpp [release_0_8_2_


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog server/asobj/SoundGst.cpp [release_0_8_2_rc1]
Date: Sat, 23 Feb 2008 20:45:32 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         release_0_8_2_rc1
Changes by:     Bastiaan Jacques <bjacques>     08/02/23 20:45:32

Modified files:
        .              : ChangeLog 
        server/asobj   : SoundGst.cpp 

Log message:
        Use the new GstUtil for obtaining an audio sink.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.5711.2.17&r2=1.5711.2.18
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.cpp?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.20&r2=1.20.2.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5711.2.17
retrieving revision 1.5711.2.18
diff -u -b -r1.5711.2.17 -r1.5711.2.18
--- ChangeLog   22 Feb 2008 20:27:09 -0000      1.5711.2.17
+++ ChangeLog   23 Feb 2008 20:45:31 -0000      1.5711.2.18
@@ -1,3 +1,8 @@
+2008-02-23 Sean McNamara <address@hidden>
+
+       * server/asob/SoundGst.cpp: Use the new GstUtil for obtaining an
+       audio sink.
+
 2008-02-22 Benjamin Wolsey <address@hidden>
 
        * po/Makefile.am: add Swedish translation.

Index: server/asobj/SoundGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.cpp,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -u -b -r1.20 -r1.20.2.1
--- server/asobj/SoundGst.cpp   19 Feb 2008 19:20:55 -0000      1.20
+++ server/asobj/SoundGst.cpp   23 Feb 2008 20:45:32 -0000      1.20.2.1
@@ -30,6 +30,7 @@
 #include "GnashException.h"
 #include "builtin_function.h"
 #include "URL.h"
+#include "GstUtil.h"
 
 #include <string>
 
@@ -84,12 +85,7 @@
     return;
   }
 
-#if !defined(__NetBSD__)
-  _audiosink = gst_element_factory_make ("autoaudiosink", NULL);
-  if (!_audiosink) _audiosink = gst_element_factory_make ("alsasink", NULL);
-  if (!_audiosink) _audiosink = gst_element_factory_make ("osssink", NULL);
-#endif
-  if (!_audiosink) _audiosink = gst_element_factory_make ("esdsink", NULL);
+  _audiosink = gnash::media::GstUtil::get_audiosink_element();
 
   if (!_audiosink) {
     log_error(_("Could not create gstreamer audiosink element"));




reply via email to

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