Opened 8 years ago
Closed 8 years ago
Last modified 8 years ago
#12643 closed Bug Report - Crash (fixed)
Raspberry pi: Failure when resolution changes
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | major | Milestone: | 0.28 |
Component: | MythTV - Video Playback | Version: | Master Head |
Severity: | medium | Keywords: | Raspberry pi |
Cc: | Ticket locked: | no |
Description
When the video resolution changes in a recording, e.g. from 528x480 to 1920x1080, when it gets to playing that point, the frontend shuts down with an assertion error message:
mythfrontend: privatedecoder_omx.cpp:562: OMX_ERRORTYPE PrivateDecoderOMX::FreeOutputBuffersCB(): Assertion `((OMX_BUFFERHEADERTYPE*)((frame)->priv[2])) == hdr' failed.
Attachments (1)
Change History (9)
comment:1 Changed 8 years ago by
Changed 8 years ago by
Attachment: | Ticket_12643_Fix_Resolution_change_crash.patch added |
---|
Patch to fix this bug
comment:2 Changed 8 years ago by
I have attached the patch which fixes this problem. Most of the patch was from LVR. Reset was being called in the wrong place and resulting in buffers freed at the wrong time. Additionally fixes some incorrect assert calls.
comment:3 Changed 8 years ago by
Milestone: | unknown → 0.28 |
---|
comment:4 Changed 8 years ago by
Priority: | minor → major |
---|
Patch looks okay to me. JYA can you review?
comment:5 Changed 8 years ago by
Could you please provide a sample of the video that caused the original crash?
I want to check that it's not negatively affecting the Mac decoder...
comment:6 Changed 8 years ago by
I extracted the first 100 MB of the file (about 1 minute). The first 10 seconds is in 528x480 resolution and after that it changes to 1920x1080. The raspberry pi frontend would crash after the first 10 seconds.
https://www.dropbox.com/s/opw73suhkb3zumi/resolution_change.mpg?dl=0
comment:7 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
LVR supplied a partial patch for this. I completed the fix and I am currently testing it. I will attach a patch to this ticket once I am happy with the fix.