summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2018-03-02 10:37:45 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-03-02 10:37:45 -0500
commit7e45b9f03fdb89618eee2b3277173d94b547cc15 (patch)
tree32fd6fd46f4ecf8a7d6df569ecc618b96784644a /gst
parent47208072bf5d7ce236621f94168ee0966982f2ea (diff)
Revert "h264parse: early set src caps when input is avc"
Diffstat (limited to 'gst')
-rw-r--r--gst/videoparsers/gsth264parse.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index f53a5595b..046648a91 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -2734,11 +2734,6 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
if (h264parse->align == GST_H264_PARSE_ALIGN_NAL)
h264parse->split_packetized = TRUE;
h264parse->packetized = TRUE;
-
- if (format == GST_H264_PARSE_FORMAT_AVC)
- /* We got all the caps infos from the codec_data so can already set the
- * src caps. */
- gst_h264_parse_update_src_caps (h264parse, NULL);
}
h264parse->in_align = align;