[rhythmbox] media-types: use the top level profile name in warnings



commit 6fa6eb87c9c0e8d74935acd01552dafdca2bc375
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Jul 7 23:14:19 2013 +1000

    media-types: use the top level profile name in warnings

 lib/rb-gst-media-types.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/rb-gst-media-types.c b/lib/rb-gst-media-types.c
index 2ef7343..89aeda3 100644
--- a/lib/rb-gst-media-types.c
+++ b/lib/rb-gst-media-types.c
@@ -368,7 +368,7 @@ get_audio_encoder_factory (GstEncodingProfile *profile)
        if (fl != NULL) {
                f = gst_object_ref (fl->data);
        } else {
-               g_warning ("no encoder factory for profile %s", gst_encoding_profile_get_name (p));
+               g_warning ("no encoder factory for profile %s", gst_encoding_profile_get_name (profile));
                f = NULL;
        }
        gst_plugin_feature_list_free (l);


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