File gnome-media-lame.patch of Package gnome-media

--- profiles/gnome-audio-profiles.schemas.in.in
+++ profiles/gnome-audio-profiles.schemas.in.in
@@ -8,7 +8,7 @@
       <owner>gnome-media</owner>
       <type>list</type>
       <list_type>string</list_type>
-      <default>[cdlossy,cdlossless,voicelossy,voicelossless]</default>
+      <default>[cdlossy,cdlossy_lame,cdlossless,voicelossy,voicelossless]</default>
       <locale name="C">
         <short>List of profiles</short>
         <long>
@@ -163,6 +163,80 @@
       </locale>
     </schema>
 
+    <!-- CD quality, lossy MP3 compression -->
+    <schema>
+      <key>/schemas/system/gstreamer/audio/profiles/cdlossy_lame/name</key>
+      <applyto>/system/gstreamer/audio/profiles/cdlossy_lame/name</applyto>
+      <owner>gnome-media</owner>
+      <type>string</type>
+      <locale name="C">
+        <default>CD Quality, Lossy</default>
+        <short>A short name for the audio profile</short>
+        <long>
+          A short name for the audio profile, to be used in selections
+          and uniquely identifying the profile.
+        </long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/system/gstreamer/audio/profiles/cdlossy_lame/description</key>
+      <applyto>/system/gstreamer/audio/profiles/cdlossy_lame/description</applyto>
+      <owner>gnome-media</owner>
+      <type>string</type>
+      <locale name="C">
+        <default>Used for converting to CD-quality audio, but with a lossy compression codec. Use this for CD extraction and radio recordings.</default>
+        <short>A description for the audio profile</short>
+        <long>
+          A description of the profile, containing more information and
+          describing when to use this profile.
+        </long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/system/gstreamer/audio/profiles/cdlossy_lame/pipeline</key>
+      <applyto>/system/gstreamer/audio/profiles/cdlossy_lame/pipeline</applyto>
+      <owner>gnome-media</owner>
+      <type>string</type>
+      <default> audio/x-raw-int,rate=44100,channels=2 ! lame name=enc</default>
+      <locale name="C">
+        <short>The partial GStreamer pipeline used</short>
+        <long>
+          A partial GStreamer pipeline to use for this profile.
+        </long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/system/gstreamer/audio/profiles/cdlossy_lame/extension</key>
+      <applyto>/system/gstreamer/audio/profiles/cdlossy_lame/extension</applyto>
+      <owner>gnome-media</owner>
+      <type>string</type>
+      <default>mp3</default>
+      <locale name="C">
+        <short>The default file extension for this profile</short>
+        <long>
+          A filename extension to be used when storing files encoded
+          with this profile.
+        </long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/system/gstreamer/audio/profiles/active</key>
+      <applyto>/system/gstreamer/audio/profiles/cdlossy_lame/active</applyto>
+      <owner>gnome-media</owner>
+      <type>bool</type>
+      <default>true</default>
+      <locale name="C">
+        <short>Whether or not this profile is to be used</short>
+        <long>
+          Whether or not to use and display this profile.
+        </long>
+      </locale>
+    </schema>
+
     <!-- CD quality, lossless compression -->
     <schema>
       <key>/schemas/system/gstreamer/@GST_MAJORMINOR@/audio/profiles/cdlossless/name</key>
openSUSE Build Service is sponsored by