mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 09:08:14 +00:00
update for tag event change
This commit is contained in:
parent
377556421d
commit
b98ec32380
7 changed files with 10 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue