1
From d2397f18e2fa082955ce10f5ef9cec68dafc5367 Mon Sep 17 00:00:00 2001
2
From: Jeremy Bicha <jbicha@ubuntu.com>
3
Date: Thu, 24 Jan 2013 22:26:10 -0500
4
Subject: [PATCH] use mpegaudioparse gstreamer plugin instead of mp3parse
6
Fix "not suitable for audio or video media" error when
7
attempting to create a mp3 audio project
8
The plugin was basically renamed for gstreamer 1.0.
9
Thanks tuxor for identifying the problem!
11
https://bugzilla.gnome.org/show_bug.cgi?id=687886
13
libbrasero-utils/brasero-metadata.c | 4 ++--
14
plugins/transcode/burn-transcode.c | 4 ++--
15
2 files changed, 4 insertions(+), 4 deletions(-)
17
diff --git a/libbrasero-utils/brasero-metadata.c b/libbrasero-utils/brasero-metadata.c
18
index 1088121..7f10088 100644
19
--- a/libbrasero-utils/brasero-metadata.c
20
+++ b/libbrasero-utils/brasero-metadata.c
21
@@ -1200,12 +1200,12 @@ brasero_metadata_create_mp3_pipeline (BraseroMetadata *self)
23
gst_bin_add (GST_BIN (priv->pipeline_mp3), source);
25
- parse = gst_element_factory_make ("mp3parse", NULL);
26
+ parse = gst_element_factory_make ("mpegaudioparse", NULL);
28
priv->error = g_error_new (BRASERO_UTILS_ERROR,
29
BRASERO_UTILS_ERROR_GENERAL,
30
_("%s element could not be created"),
32
+ "\"mpegaudioparse\"");
34
g_object_unref (priv->pipeline_mp3);
35
priv->pipeline_mp3 = NULL;
36
diff --git a/plugins/transcode/burn-transcode.c b/plugins/transcode/burn-transcode.c
37
index a6a0f40..6861168 100644
38
--- a/plugins/transcode/burn-transcode.c
39
+++ b/plugins/transcode/burn-transcode.c
40
@@ -284,13 +284,13 @@ brasero_transcode_create_pipeline_size_mp3 (BraseroTranscode *transcode,
42
BRASERO_JOB_LOG (transcode, "Creating specific pipeline for MP3s");
44
- parse = gst_element_factory_make ("mp3parse", NULL);
45
+ parse = gst_element_factory_make ("mpegaudioparse", NULL);
49
BRASERO_BURN_ERROR_GENERAL,
50
_("%s element could not be created"),
52
+ "\"mpegaudioparse\"");
53
g_object_unref (pipeline);