mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-07 06:35:30 +01:00
avformat: move AVStream.{parser,need_parsing} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public header. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -961,7 +961,7 @@ static int v4l2_read_header(AVFormatContext *ctx)
|
||||
st->codecpar->codec_tag =
|
||||
avcodec_pix_fmt_to_codec_tag(st->codecpar->format);
|
||||
else if (codec_id == AV_CODEC_ID_H264) {
|
||||
st->need_parsing = AVSTREAM_PARSE_FULL_ONCE;
|
||||
avpriv_stream_set_need_parsing(st, AVSTREAM_PARSE_FULL_ONCE);
|
||||
}
|
||||
if (desired_format == V4L2_PIX_FMT_YVU420)
|
||||
st->codecpar->codec_tag = MKTAG('Y', 'V', '1', '2');
|
||||
|
||||
Reference in New Issue
Block a user