Revert "h264parse: early set src caps when input is avc"

This reverts commit 5ac886d85a.
This commit is contained in:
Nicolas Dufresne 2018-03-02 10:37:45 -05:00
parent 47208072bf
commit 7e45b9f03f

View file

@ -2734,11 +2734,6 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
if (h264parse->align == GST_H264_PARSE_ALIGN_NAL) if (h264parse->align == GST_H264_PARSE_ALIGN_NAL)
h264parse->split_packetized = TRUE; h264parse->split_packetized = TRUE;
h264parse->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; h264parse->in_align = align;