mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
videoparsers: Use gst_base_parse_merge_tags()
Instead of squashing all upstream tags https://bugzilla.gnome.org/show_bug.cgi?id=679768
This commit is contained in:
parent
a31a753bfd
commit
567b1e8c46
8 changed files with 16 additions and 16 deletions
|
@ -404,8 +404,8 @@ gst_dirac_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (diracparse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
/* also signals the end of first-frame processing */
|
||||
diracparse->sent_codec_tag = TRUE;
|
||||
|
|
|
@ -447,8 +447,8 @@ gst_h263_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (h263parse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
/* also signals the end of first-frame processing */
|
||||
h263parse->sent_codec_tag = TRUE;
|
||||
|
|
|
@ -2213,8 +2213,8 @@ gst_h264_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (h264parse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
/* also signals the end of first-frame processing */
|
||||
h264parse->sent_codec_tag = TRUE;
|
||||
|
|
|
@ -1772,8 +1772,8 @@ gst_h265_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (h265parse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
/* also signals the end of first-frame processing */
|
||||
h265parse->sent_codec_tag = TRUE;
|
||||
|
|
|
@ -730,8 +730,8 @@ gst_mpeg4vparse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (mp4vparse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
/* also signals the end of first-frame processing */
|
||||
mp4vparse->sent_codec_tag = TRUE;
|
||||
|
|
|
@ -954,8 +954,8 @@ gst_mpegv_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (parse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
mpvparse->send_codec_tag = FALSE;
|
||||
}
|
||||
|
|
|
@ -267,8 +267,8 @@ gst_png_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (pngparse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
/* also signals the end of first-frame processing */
|
||||
pngparse->sent_codec_tag = TRUE;
|
||||
|
|
|
@ -1708,8 +1708,8 @@ gst_vc1_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
GST_TAG_VIDEO_CODEC, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_push_event (GST_BASE_PARSE_SRC_PAD (vc1parse),
|
||||
gst_event_new_tag (taglist));
|
||||
gst_base_parse_merge_tags (parse, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_unref (taglist);
|
||||
|
||||
/* also signals the end of first-frame processing */
|
||||
vc1parse->sent_codec_tag = TRUE;
|
||||
|
|
Loading…
Reference in a new issue