[totem] backend: Fix tracks not appearing with their language names



commit c8b2a6af05e7c763f4acb01fd37245436641a53c
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 43b6c98..22fa4db 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -2807,7 +2807,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);
@@ -2839,7 +2839,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]