[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/asobj/SoundGst.cpp
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] gnash ChangeLog server/asobj/SoundGst.cpp |
Date: |
Sat, 23 Feb 2008 20:40:44 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Bastiaan Jacques <bjacques> 08/02/23 20:40:44
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&r1=1.5734&r2=1.5735
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.cpp?cvsroot=gnash&r1=1.20&r2=1.21
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5734
retrieving revision 1.5735
diff -u -b -r1.5734 -r1.5735
--- ChangeLog 23 Feb 2008 18:12:52 -0000 1.5734
+++ ChangeLog 23 Feb 2008 20:40:43 -0000 1.5735
@@ -1,4 +1,9 @@
-2008-02-22 Bastiaan Jacques <address@hidden>
+2008-02-23 Sean McNamara <address@hidden>
+
+ * server/asobj/NetStreamGst.cpp: Use the new GstUtil for obtaining an
+ audio sink.
+
+2008-02-23 Bastiaan Jacques <address@hidden>
* libmedia/Makefile.am: Remove MediaDecoder* from the build, since
they are unused and unmaintained.
Index: server/asobj/SoundGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- server/asobj/SoundGst.cpp 19 Feb 2008 19:20:55 -0000 1.20
+++ server/asobj/SoundGst.cpp 23 Feb 2008 20:40:44 -0000 1.21
@@ -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"));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/asobj/SoundGst.cpp,
Bastiaan Jacques <=