mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
h264parse: Remove dead code
The detection for missing format/alignment is done way before this codepath is reached (at which point we have already decided of a format and alignment). CID #1232800
This commit is contained in:
parent
1ce65e2f74
commit
8ba1fbbe64
1 changed files with 0 additions and 5 deletions
|
@ -2237,11 +2237,6 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
|||
h264parse->packetized = FALSE;
|
||||
/* we have 4 sync bytes */
|
||||
h264parse->nal_length_size = 4;
|
||||
|
||||
if (format == GST_H264_PARSE_FORMAT_NONE) {
|
||||
format = GST_H264_PARSE_FORMAT_BYTE;
|
||||
align = GST_H264_PARSE_ALIGN_AU;
|
||||
}
|
||||
} else {
|
||||
/* probably AVC3 without codec_data field, anything to do here? */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue