update for tag event change

This commit is contained in:
Wim Taymans 2012-06-06 13:02:40 +02:00
parent 377556421d
commit b98ec32380
7 changed files with 10 additions and 8 deletions

View file

@ -706,7 +706,7 @@ gst_modplug_loop (GstModPlug * modplug)
gst_tag_list_add (tags, GST_TAG_MERGE_APPEND,
GST_TAG_COMMENT, comment, NULL);
}
gst_pad_push_event (modplug->srcpad, gst_event_new_tag (tags));
gst_pad_push_event (modplug->srcpad, gst_event_new_tag ("GstDecoder", tags));
} else {
/* not fully loaded yet */
return;

View file

@ -419,7 +419,7 @@ gst_schrodec_send_tags (GstSchroDec * schro_dec)
GST_TAG_VIDEO_CODEC, "Dirac", NULL);
gst_pad_push_event (GST_VIDEO_DECODER_SRC_PAD (schro_dec),
gst_event_new_tag (list));
gst_event_new_tag ("GstDecoder", list));
}
static GstFlowReturn

View file

@ -323,7 +323,7 @@ gst_vp8_dec_send_tags (GstVP8Dec * dec)
GST_TAG_VIDEO_CODEC, "VP8 video", NULL);
gst_pad_push_event (GST_VIDEO_DECODER_SRC_PAD (dec),
gst_event_new_tag (list));
gst_event_new_tag ("GstDecoder", list));
}
static void

View file

@ -456,7 +456,7 @@ gst_camera_bin_start_capture (GstCameraBin2 * camerabin)
active_pad = gst_element_get_static_pad (camerabin->src,
GST_BASE_CAMERA_SRC_VIDEO_PAD_NAME);
gst_pad_push_event (active_pad,
gst_event_new_tag (gst_tag_list_copy (taglist)));
gst_event_new_tag ("GstSrc", gst_tag_list_copy (taglist)));
gst_object_unref (active_pad);
}
@ -1364,7 +1364,7 @@ gst_camera_bin_image_src_buffer_probe (GstPad * pad, GstPadProbeInfo * info,
GST_PTR_FORMAT, tags);
if (tags) {
peer = gst_pad_get_peer (pad);
gst_pad_send_event (peer, gst_event_new_tag (tags));
gst_pad_send_event (peer, gst_event_new_tag ("GstSrc", tags));
gst_object_unref (peer);
}
} else {

View file

@ -512,7 +512,8 @@ mpegts_parse_tspad_push (MpegTSParse2 * parse, MpegTSParsePad * tspad,
MpegTSBaseProgram *bp = (MpegTSBaseProgram *) tspad->program;
pad_pids = bp->streams;
if (bp->tags) {
gst_pad_push_event (tspad->pad, gst_event_new_tag (bp->tags));
gst_pad_push_event (tspad->pad, gst_event_new_tag ("GstParser",
bp->tags));
bp->tags = NULL;
}
} else {

View file

@ -1470,7 +1470,8 @@ push_new_segment:
if (stream->taglist) {
GST_DEBUG_OBJECT (stream->pad, "Sending tags %" GST_PTR_FORMAT,
stream->taglist);
gst_pad_push_event (stream->pad, gst_event_new_tag (stream->taglist));
gst_pad_push_event (stream->pad, gst_event_new_tag ("GstDemuxer",
stream->taglist));
stream->taglist = NULL;
}

View file

@ -786,7 +786,7 @@ gst_mpegv_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
g_free (codec);
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (mpvparse),
gst_event_new_tag (taglist));
gst_event_new_tag ("GstParser", taglist));
mpvparse->send_codec_tag = FALSE;
}