tag: id3v2: We require a -base more recent than 0.10.9, so it's safe to use
authorTim-Philipp Müller <tim@centricular.net>
Wed, 1 Nov 2006 13:59:49 +0000 (13:59 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 14 Aug 2011 23:10:30 +0000 (00:10 +0100)
Original commit message from CVS:
* gst-libs/gst/tag/id3v2frames.c: (parse_picture_frame):
We require a -base more recent than 0.10.9, so it's safe to use
GST_TYPE_TAG_IMAGE_TYPE unconditionally now.
* ext/dv/gstdvdec.c: (gst_dvdec_sink_event):
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_sink_event):
Use _newsegment_full() now that we depend on a recent enough core.
* gst/wavparse/gstwavparse.c:
Remove cruft that we don't need any longer now that we depend on
a recent enough -base.

gst-libs/gst/tag/id3v2frames.c

index 8f4711a..d58d462 100644 (file)
@@ -513,14 +513,11 @@ parse_picture_frame (ID3TagsWorking * work)
   }
 
   if (image && image_caps) {
-    /* FIXME: remove #ifdef once we depend on -base >= 0.10.9 */
-#ifdef GST_TYPE_TAG_IMAGE_TYPE
     if (pic_type > 0x14)
       pic_type = GST_TAG_IMAGE_TYPE_UNDEFINED;
     gst_structure_set (gst_caps_get_structure (image_caps, 0),
         "image-type", GST_TYPE_TAG_IMAGE_TYPE,
         (GstTagImageType) pic_type, NULL);
-#endif
 
     gst_buffer_set_caps (image, image_caps);
     gst_caps_unref (image_caps);