[Xfce4-commits] [apps/parole] 01/01: Display audio and subtitle tracks in correct order (bug #13268)

noreply at xfce.org noreply at xfce.org
Fri May 26 03:00:27 CEST 2017


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/parole.

commit ff47412f360e480f9057e14a7910c325ff58cd0b
Author: Matija Skala <mskala at gmx.com>
Date:   Thu May 25 21:00:16 2017 -0400

    Display audio and subtitle tracks in correct order (bug #13268)
---
 src/gst/parole-gst.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index 8151b03..9161963 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -2904,11 +2904,9 @@ gst_get_lang_list_for_type (ParoleGst * gst, const gchar * type_name)
             }
         }
 
-        ret = g_list_reverse (ret);
-
         if ( gst->priv->use_custom_subtitles == TRUE )
         {
-            ret = g_list_prepend (ret, g_strdup_printf("%s",gst->priv->custom_subtitles));
+            ret = g_list_append (ret, g_strdup_printf("%s",gst->priv->custom_subtitles));
         }
     }
     else
@@ -2917,7 +2915,7 @@ gst_get_lang_list_for_type (ParoleGst * gst, const gchar * type_name)
         return NULL;
     }
 
-    return ret;
+    return g_list_reverse (ret);
 }
 
 gboolean

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list