brasero r827 - in trunk: . src/plugins/transcode
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r827 - in trunk: . src/plugins/transcode
- Date: Sun, 25 May 2008 17:59:39 +0000 (UTC)
Author: philippr
Date: Sun May 25 17:59:39 2008
New Revision: 827
URL: http://svn.gnome.org/viewvc/brasero?rev=827&view=rev
Log:
Additional checks at plugin init to see if it can properly work
* src/plugins/transcode/burn-normalize.c
(brasero_normalize_export_caps):
Modified:
trunk/ChangeLog
trunk/src/plugins/transcode/burn-normalize.c
Modified: trunk/src/plugins/transcode/burn-normalize.c
==============================================================================
--- trunk/src/plugins/transcode/burn-normalize.c (original)
+++ trunk/src/plugins/transcode/burn-normalize.c Sun May 25 17:59:39 2008
@@ -552,6 +552,20 @@
brasero_normalize_export_caps (BraseroPlugin *plugin, gchar **error)
{
GSList *input;
+ GstElement *element;
+
+ /* Let's see if we've got the plugins we need */
+ element = gst_element_factory_make ("rgvolume", NULL);
+ if (!element)
+ return BRASERO_BURN_ERR;
+
+ gst_object_unref (element);
+
+ element = gst_element_factory_make ("rganalysis", NULL);
+ if (!element)
+ return BRASERO_BURN_ERR;
+
+ gst_object_unref (element);
brasero_plugin_define (plugin,
"normalize",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]