[rhythmbox] add Apple Lossless (ALAC) encoding profile, and add it to the ipod encoding target



commit 10fb8010a092d422457ae5e0573afe8003e58061
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Oct 15 19:12:56 2016 +1000

    add Apple Lossless (ALAC) encoding profile, and add it to the ipod encoding target
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772657

 data/rhythmbox.gep            |   14 ++++++++++++++
 plugins/ipod/rb-ipod-source.c |    1 +
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/data/rhythmbox.gep b/data/rhythmbox.gep
index ec10803..16a437c 100644
--- a/data/rhythmbox.gep
+++ b/data/rhythmbox.gep
@@ -62,6 +62,20 @@ type = audio
 format = audio/mpeg, mpegversion=4, stream-format=raw
 presence = 1
 
+[profile-alac]
+name = alac
+description = ALAC
+format = video/quicktime, variant=iso
+type = container
+
+[streamprofile-alac-1]
+parent = alac
+type = audio
+format = audio/x-alac
+presence = 1
+
+
+
 [rhythmbox-encoder-settings]
 # maps encoder elements and encoding types to lists of settings to expose
 lamemp3enc-vbr = quality
diff --git a/plugins/ipod/rb-ipod-source.c b/plugins/ipod/rb-ipod-source.c
index be8b268..4de0ec0 100644
--- a/plugins/ipod/rb-ipod-source.c
+++ b/plugins/ipod/rb-ipod-source.c
@@ -392,6 +392,7 @@ finish_construction (RBiPodSource *source)
        target = gst_encoding_target_new ("ipod", "device", "ipod", NULL);
        gst_encoding_target_add_profile (target, rb_gst_get_encoding_profile ("audio/mpeg"));
        gst_encoding_target_add_profile (target, rb_gst_get_encoding_profile ("audio/x-aac"));
+       gst_encoding_target_add_profile (target, rb_gst_get_encoding_profile ("audio/x-alac"));
        g_object_set (source, "encoding-target", target, NULL);
 
        priv->new_playlist_action_name = g_strdup_printf ("ipod-%p-playlist-new", source);


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