From 25bc74b8a600923514c63ae5c904100219dcc76a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 2 Aug 2008 18:20:44 +0000 Subject: [PATCH] Build depend on core CVS for the attachment tag. Original commit message from CVS: * configure.ac: * gst/matroska/matroska-ids.c: (gst_matroska_register_tags): * gst/matroska/matroska-ids.h: Build depend on core CVS for the attachment tag. --- ChangeLog | 7 +++++++ configure.ac | 2 +- gst/matroska/matroska-ids.c | 4 ---- gst/matroska/matroska-ids.h | 6 ------ 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 03a6538..6a2bc62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,13 @@ 2008-08-02 Sebastian Dröge * configure.ac: + * gst/matroska/matroska-ids.c: (gst_matroska_register_tags): + * gst/matroska/matroska-ids.h: + Build depend on core CVS for the attachment tag. + +2008-08-02 Sebastian Dröge + + * configure.ac: * gst/matroska/Makefile.am: * gst/matroska/lzo.c: (get_byte), (get_len), (copy), (copy_backptr), (lzo1x_decode), (main): diff --git a/configure.ac b/configure.ac index ccd9770..09a683e 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,7 @@ AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL dnl *** required versions of GStreamer stuff *** -GST_REQ=0.10.20 +GST_REQ=0.10.20.1 GSTPB_REQ=0.10.20 dnl *** autotools stuff **** diff --git a/gst/matroska/matroska-ids.c b/gst/matroska/matroska-ids.c index 9d68617..0ee39d3 100644 --- a/gst/matroska/matroska-ids.c +++ b/gst/matroska/matroska-ids.c @@ -112,9 +112,5 @@ gst_matroska_track_init_subtitle_context (GstMatroskaTrackContext ** p_context) void gst_matroska_register_tags (void) { - /* FIXME: Remove this when we depend on core 0.10.21 */ - if (!gst_tag_exists (GST_TAG_ATTACHMENT)) - gst_tag_register (GST_TAG_ATTACHMENT, GST_TAG_FLAG_META, GST_TYPE_BUFFER, - "attachment", "file attached to this stream", gst_tag_merge_use_first); /* TODO: register other custom tags */ } diff --git a/gst/matroska/matroska-ids.h b/gst/matroska/matroska-ids.h index 8a73d37..1950350 100644 --- a/gst/matroska/matroska-ids.h +++ b/gst/matroska/matroska-ids.h @@ -580,12 +580,6 @@ gboolean gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_ gboolean gst_matroska_track_init_audio_context (GstMatroskaTrackContext ** p_context); gboolean gst_matroska_track_init_subtitle_context (GstMatroskaTrackContext ** p_context); - -/* FIXME: remove when we depend on core 0.10.21 */ -#ifndef GST_TAG_ATTACHMENT -#define GST_TAG_ATTACHMENT "attachment" -#endif - void gst_matroska_register_tags (void); #endif /* __GST_MATROSKA_IDS_H__ */ -- 2.7.4