summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d731d22)
raw | patch | inline | side by side (parent: d731d22)
author | Andy Wingo <wingo@pobox.com> | |
Tue, 22 Nov 2005 12:39:29 +0000 (12:39 +0000) | ||
committer | Andy Wingo <wingo@pobox.com> | |
Tue, 22 Nov 2005 12:39:29 +0000 (12:39 +0000) |
Original commit message from CVS:
2005-11-22 Andy Wingo <wingo@pobox.com>
* Update for gst_tag_setter API changes.
2005-11-22 Andy Wingo <wingo@pobox.com>
* Update for gst_tag_setter API changes.
ChangeLog | patch | blob | history | |
ext/lame/gstlame.c | patch | blob | history | |
ext/mad/gstid3tag.c | patch | blob | history | |
ext/sidplay/gstsiddec.cc | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 7685e5907c7173391db658fb9903718f0211d311..91afe5a5ddf77e10b139ea70b29a1830eca43235 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2005-11-22 Andy Wingo <wingo@pobox.com>
+
+ * Update for gst_tag_setter API changes.
+
2005-11-22 Andy Wingo <wingo@pobox.com>
* ext/a52dec/gsta52dec.c (gst_a52dec_sink_event)
diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c
index e33f4d1729c6730f022788aebad92a3aed05d5f0..aa9a4b0ab28fb7cd2b6154f1b7ba56b1ecfcb6ba 100644 (file)
--- a/ext/lame/gstlame.c
+++ b/ext/lame/gstlame.c
g_return_if_fail (lame != NULL);
- user_tags = gst_tag_setter_get_list (GST_TAG_SETTER (lame));
+ user_tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (lame));
if ((lame->tags == NULL) && (user_tags == NULL)) {
return;
}
copy = gst_tag_list_merge (user_tags, lame->tags,
- gst_tag_setter_get_merge_mode (GST_TAG_SETTER (lame)));
+ gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (lame)));
gst_tag_list_foreach ((GstTagList *) copy, add_one_tag, lame);
gst_tag_list_free (copy);
gst_event_parse_tag (event, &taglist),
gst_tag_list_insert (lame->tags, taglist,
- gst_tag_setter_get_merge_mode (GST_TAG_SETTER (lame)));
+ gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (lame)));
} else {
g_assert_not_reached ();
}
diff --git a/ext/mad/gstid3tag.c b/ext/mad/gstid3tag.c
index 0ba52450624f2cc3bd3860f6ef3ab3aa6d0c07d2..18885b466dce72355ea7975bd7fc0d9f99ef4b0e 100644 (file)
--- a/ext/mad/gstid3tag.c
+++ b/ext/mad/gstid3tag.c
} else if (tag->parsed_tags) {
ret = gst_tag_list_copy (tag->parsed_tags);
}
- if (ret && gst_tag_setter_get_list (GST_TAG_SETTER (tag))) {
- gst_tag_list_insert (ret, gst_tag_setter_get_list (GST_TAG_SETTER (tag)),
- gst_tag_setter_get_merge_mode (GST_TAG_SETTER (tag)));
- } else if (gst_tag_setter_get_list (GST_TAG_SETTER (tag))) {
- ret = gst_tag_list_copy (gst_tag_setter_get_list (GST_TAG_SETTER (tag)));
+ if (ret && gst_tag_setter_get_tag_list (GST_TAG_SETTER (tag))) {
+ gst_tag_list_insert (ret,
+ gst_tag_setter_get_tag_list (GST_TAG_SETTER (tag)),
+ gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (tag)));
+ } else if (gst_tag_setter_get_tag_list (GST_TAG_SETTER (tag))) {
+ ret =
+ gst_tag_list_copy (gst_tag_setter_get_tag_list (GST_TAG_SETTER (tag)));
}
return ret;
}
tag->v1tag_size_new = (tag->v1tag_render &&
IS_MUXER (tag) &&
(tag->parsed_tags != NULL ||
- gst_tag_setter_get_list (GST_TAG_SETTER (tag)) !=
+ gst_tag_setter_get_tag_list (GST_TAG_SETTER (tag)) !=
NULL)) ? 128 : 0;
/* fall through */
case GST_ID3_TAG_STATE_NORMAL:
index 27a3e28780b64fe112acdb6d5b416732d11d79c4..69c44fdd5f8a8d2ce7e65ebd88b1444778344eb3 100644 (file)
--- a/ext/sidplay/gstsiddec.cc
+++ b/ext/sidplay/gstsiddec.cc
goto could_not_init;
gst_pad_push_event (siddec->srcpad,
- gst_event_new_newsegment (FALSE, 1.0, GST_FORMAT_TIME, 0, -1, 0));
+ gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME, 0, -1, 0));
res = gst_pad_start_task (siddec->srcpad,
(GstTaskFunction) play_loop, siddec->srcpad);