Opened 15 years ago
Closed 15 years ago
#7804 closed defect (wontfix)
mpegts demuxer sets codec_tag incorrectly
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | head |
Severity: | low | Keywords: | |
Cc: | Stuart Auchterlonie | Ticket locked: | no |
Description
Changeset 20971 introduced a minor bug in the setting of codec->codec_type.
In the function
new_pes_av_stream()
, the line
st->codec->codec_tag = pes->stream_type;
is setting the codec_tag to the ISO stream id instead of the appropriate tag. (eg. 0x1b for H264 instead of 'H264').
While this doesn't appear to break anything in trunk now, it does break the patches for anyone using CoreAVC, and may break something in the future.
Commenting out the line or applying the attached patch resolve the immediate problem with the CoreAVC patch however there may be a better way to handle this.
Attachments (1)
Change History (3)
Changed 15 years ago by
Attachment: | codec_tag.patch added |
---|
comment:1 Changed 15 years ago by
Cc: | Stuart Auchterlonie added |
---|
comment:2 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The code is from upstream, and we're making efforts to be more like them, not less so. Changes like this, especially when there's no existing bug in actual Myth code, are discouraged. If you want something like this to find its way into myth, I daresay you'll need to get it applied upstream (submit your patch to ffmpeg-devel).
Patch to improve setting of codec_type.