GNOME Bugzilla – Bug 657257
discoverer: retrieve audio track language from tags too
Last modified: 2011-08-26 08:07:46 UTC
As I just did for subtitles
Created attachment 194625 [details] [review] discoverer: retrieve audio track language from tags too
Review of attachment 194625 [details] [review]: ::: gst-libs/gst/pbutils/gstdiscoverer.c @@ +672,3 @@ + if (gst_tag_list_get_string (((GstDiscovererStreamInfo *) info)->tags, + GST_TAG_LANGUAGE_CODE, &language)) { + info->language = g_strdup (language); No need to copy the string, the return value of gst_tag_list_to_string() is owned by the caller
Created attachment 194680 [details] [review] discoverer: retrieve audio track language from tags too Fix leak found in review
commit 921b92ce0603bb0341fabea5712f4b0da9a5f518 Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Wed Aug 24 16:29:08 2011 +0100 discoverer: retrieve audio track language from tags too https://bugzilla.gnome.org/show_bug.cgi?id=657257