~noskcaj/ubuntu/vivid/brasero/3.12

« back to all changes in this revision

Viewing changes to src/metadata.c

  • Committer: Bazaar Package Importer
  • Author(s): Mario Danic
  • Date: 2007-06-04 14:06:16 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20070604140616-gtp1vsiuqr5grutk
Tags: upstream-0.5.90
ImportĀ upstreamĀ versionĀ 0.5.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
#include "metadata.h"
40
40
#include "utils.h"
41
 
 
42
 
extern gint debug;
 
41
#include "burn-debug.h"
43
42
 
44
43
static void brasero_metadata_class_init (BraseroMetadataClass *klass);
45
44
static void brasero_metadata_init (BraseroMetadata *sp);
301
300
        if (cobj->album)
302
301
                g_free (cobj->album);
303
302
 
 
303
        if (cobj->genre)
 
304
                g_free (cobj->genre);
 
305
 
304
306
        if (cobj->musicbrainz_id)
305
307
                g_free (cobj->musicbrainz_id);
306
308
 
530
532
 
531
533
                gst_tag_list_get_string (list, tag, &(meta->album));
532
534
        }
 
535
        else if (!strcmp (tag, GST_TAG_GENRE)) {
 
536
                if (meta->genre)
 
537
                        g_free (meta->genre);
 
538
 
 
539
                gst_tag_list_get_string (list, tag, &(meta->genre));
 
540
        }
533
541
/*      else if (!strcmp (tag, GST_TAG_COMPOSER)) {
534
542
                if (meta->composer)
535
543
                        g_free (meta->composer);
607
615
        case GST_MESSAGE_ERROR:
608
616
                /* when stopping the pipeline we are only interested in TAGS */
609
617
                gst_message_parse_error (msg, &error, &debug_string);
610
 
                if (debug && debug_string)
611
 
                        g_warning ("DEBUG: %s\n", debug_string);
612
 
 
 
618
                BRASERO_BURN_LOG (debug_string);
613
619
                g_free (debug_string);
614
620
 
615
621
                meta->priv->error = error;