[totem/gnome-3-0] backend: Fix tracks not appearing with their language names



commit 7a5fc160f034887b0cbce858b2473a2882dd1397
Author: Sundararaj Reel <sundararaj reel googlemail com>
Date:   Mon May 16 17:22:26 2011 +0100

    backend: Fix tracks not appearing with their language names

 src/backend/bacon-video-widget-gst-0.10.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index bea7283..57a6ed1 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -3113,7 +3113,7 @@ get_lang_list_for_type (BaconVideoWidget * bvw, const gchar * type_name)
         gchar *lc = NULL, *cd = NULL;
 
 	gst_tag_list_get_string (tags, GST_TAG_LANGUAGE_CODE, &lc);
-	gst_tag_list_get_string (tags, GST_TAG_CODEC, &lc);
+	gst_tag_list_get_string (tags, GST_TAG_CODEC, &cd);
 
         if (lc) {
 	  ret = g_list_prepend (ret, lc);
@@ -3145,7 +3145,7 @@ get_lang_list_for_type (BaconVideoWidget * bvw, const gchar * type_name)
         gchar *lc = NULL, *cd = NULL;
 
 	gst_tag_list_get_string (tags, GST_TAG_LANGUAGE_CODE, &lc);
-	gst_tag_list_get_string (tags, GST_TAG_CODEC, &lc);
+	gst_tag_list_get_string (tags, GST_TAG_CODEC, &cd);
 
         if (lc) {
 	  ret = g_list_prepend (ret, lc);



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