Opened 8 years ago
Closed 8 years ago
Last modified 6 years ago
#12730 closed Patch - Bug Fix (fixed)
Raspberry Pi: Intermittent pixelation with openmax decoder
Reported by: | Owned by: | Peter Bennett | |
---|---|---|---|
Priority: | minor | Milestone: | 0.28.1 |
Component: | MythTV - Video Playback | Version: | 0.28.0 |
Severity: | medium | Keywords: | Raspberry pi |
Cc: | Ticket locked: | no |
Description
Some MPEG2 streams cause pixelation during playback, from once every 30 seconds to once every few minutes.
I have determined the cause and I have a fix. I am currently testing it. I will attach the patch soon.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
The problem is caused by a timeout value too small. If the system waits more than 5 ms for a buffer for the next video packet, the packet is being dropped. The wait time will depend on decoder internals, the frame speed and how long it is until the next frame will be displayed. We do not want to drop packets in this situation. I set the timeout to 10000 so that in the event of a real decoder problem it will free up after 10 seconds. I also updated the message displayed to General, Error so that it will show in the log when default logging settings are used.