~ubuntu-branches/ubuntu/trusty/gnomeradio/trusty

« back to all changes in this revision

Viewing changes to src/rb_gst_media_types.c

  • Committer: Package Import Robot
  • Author(s): POJAR GEORGE
  • Date: 2013-05-24 01:42:00 UTC
  • Revision ID: package-import@ubuntu.com-20130524014200-b156v5n1ifwagbn4
Tags: 1.8-2ubuntu11
* Modified debian/patches/gnomeradio-media_types.patch: Fixed crashed with
  SIGSEGV in fprintf(). (LP: #1183470)
* Modified gnomeradio-license.patch:
  - Rewrite About() to display only the essential information.
  - Run gtk-update-icon-cache in uninstall-hook.
* Modified gnomeradio-station_list.patch: Added missing ellipsis for some
  buttons in Preferences menu.
* Added full path of icon in debian/menu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
                return NULL;
105
105
        } else if (!strcmp (media_type, "audio/mpeg")) {
106
106
                return "mp3";
107
 
        } else if (!strcmp (media_type, "audio/x-vorbis") || !strcmp (media_type, "application/ogg")) {
 
107
        } else if (!strcmp (media_type, "audio/x-vorbis") || !strcmp (media_type, "application/ogg") || !strcmp (media_type, "audio/ogg")) {
108
108
                return "ogg";
109
109
        } else if (!strcmp (media_type, "audio/x-flac") || !strcmp (media_type, "audio/flac")) {
110
110
                return "flac";
122
122
{
123
123
        if (!strcmp (mime_type, "application/x-id3") || !strcmp (mime_type, "audio/mpeg")) {
124
124
                return "audio/mpeg";
125
 
        } else if (!strcmp (mime_type, "application/ogg") || !strcmp (mime_type, "audio/x-vorbis")) {
 
125
        } else if (!strcmp (mime_type, "application/ogg") || !strcmp (mime_type, "audio/x-vorbis") || !strcmp (mime_type, "audio/ogg")) {
126
126
                return "audio/x-vorbis";
127
127
        } else if (!strcmp (mime_type, "audio/flac")) {
128
128
                return "audio/x-flac";
174
174
                        }
175
175
                }
176
176
        }
 
177
        gst_caps_unref (caps);
 
178
 
177
179
        return matches;
178
180
}
179
181