[mythtv-commits] [MythTV/mythtv] 092ddc: Validate video descriptor before checking still pi...
noreply at github.com
Fri Nov 18 13:33:10 UTC 2022
Author: David Hampton <mythtv at love2code.net>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Validate video descriptor before checking still picture bit.
Check to ensure that the first descriptor is a video_stream descriptor
(value 0x02) before parsing its contents. I have four test samples,
only one of which contains a video_stream descriptor in the PMT. The
others contain a system clock descriptor (0x11), a maximum bitrate
descriptor(0x14), and a private descriptor(0x86). Test cases for all
four samples will be forthcoming.
This code still only handles the first descriptor of possibly multiple
stream descriptors. This code still needs to be updated to scan
through all the possible descriptors.
More information about the mythtv-commits