Ticket #10292 (closed Patch - Bug Fix: fixed)
Opened 16 months ago
Last modified 10 months ago
Fix for compilation and segfault on Nokia N9/N950
| Reported by: | jflatt@… | Owned by: | beirdo |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.26 |
| Component: | MythTV - General | Version: | Unspecified |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
This includes ffmpeg upstream commit 8b454c352f49c2a61db37793d838b553db3da734, which fixes compilation on arm.
Also, QGLContext::getProcAddress is returning 0, but calls to dlsym succeed. I'm not sure if dlfcn.h is on other platforms, it probably needs ifdef'd, but this is a start.
Attachments
Change History
comment:1 Changed 16 months ago by markk
For the proc address issue, can you check whether using QLibary works. So something like:-
result = QLibrary::resolve("libGL", (proc + exts[i]).toLatin1().data());
instead of using dlsym
comment:2 Changed 16 months ago by jflatt@…
Yes, QLibrary works. For at least this particular device, the library name is libGLESv2. I still get an all-green video, possibly YUV2RGB conversion problem. UI is good, OSD is good, but CPU is just as high as xv-blit.
comment:4 Changed 11 months ago by beirdo
- Status changed from assigned to infoneeded
The ffmpeg part of this is in master (will be 0.26) already.
As for the dlsym, do you have a new patch using the QLibrary call that would work for you? I think Mark's concern was with the portability to platforms such as Windows.
comment:5 Changed 10 months ago by jflatt <jflatt@…>
- Status changed from infoneeded to closed
- Resolution set to fixed

git diff