Closed
Bug 461844
Opened 16 years ago
Closed 16 years ago
windows mobile minor cleanup of media
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dougt, Assigned: blassey)
Details
(Keywords: fixed1.9.1)
Attachments
(1 file, 4 obsolete files)
(deleted),
patch
|
cajbir
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
we have reduce our dependency on many of the functions and defines in a windows mobile porting library (wince shunt).
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
Attachment #344977 -
Attachment is obsolete: true
Reporter | ||
Comment 3•16 years ago
|
||
windows mobile doesn't have stat(). Is there anything else we can do here Chris?
Reporter | ||
Comment 4•16 years ago
|
||
Comment on attachment 346495 [details] [diff] [review]
patch v.2
chris, any ideas on what we can do here?
Attachment #346495 -
Flags: review?(chris.double)
Comment 5•16 years ago
|
||
All it needs to do is find the length of the file. Can you do this with WINCE api calls?
Reporter | ||
Comment 6•16 years ago
|
||
how is something like this? (not tested)
Attachment #346495 -
Attachment is obsolete: true
Attachment #348924 -
Flags: review?(chris.double)
Attachment #346495 -
Flags: review?(chris.double)
Reporter | ||
Comment 7•16 years ago
|
||
chris, do you have any test cases I can run this through?
Comment 8•16 years ago
|
||
+ int current = ftell(oggz->file, 0, SEEK_CUR);
'current' needs to be a 'long' since that's what ftell returns. We'll need to #ifdef WINCE for this since the 'ftell' implementation loses data (fstat provides access to a 64bit size on systems that support that).
Comment 9•16 years ago
|
||
The seeking code should hit this so if you run the video mochitests they'll fail if this doesn't work.
Reporter | ||
Comment 10•16 years ago
|
||
this compiles (yeah, a nice attribute of a patch), and passes mochitests (another nice attribute)
Attachment #348924 -
Attachment is obsolete: true
Attachment #355837 -
Flags: review?(chris.double)
Attachment #348924 -
Flags: review?(chris.double)
Assignee | ||
Comment 11•16 years ago
|
||
chris, review ping?
Comment 12•16 years ago
|
||
Comment on attachment 355837 [details] [diff] [review]
patch v.4
I think the changes to oggz_offset_end should be wrapped in a #if for WINCE, and leave the existing code so that it runs as normal on other platforms.
A patch with these changes should also be added to the media/liboggz directory with update.sh modified to apply the patch so it doesn't get lost when I update to newer liboggz versions.
The README_MOZILLA will also need to be updated to refer to this bug and the patch. See the way the other patches are handled in those files.
Assignee | ||
Comment 13•16 years ago
|
||
Assignee: doug.turner → bugmail
Attachment #355837 -
Attachment is obsolete: true
Attachment #358323 -
Flags: review?
Attachment #355837 -
Flags: review?(chris.double)
Updated•16 years ago
|
Attachment #358323 -
Flags: review? → review+
Assignee | ||
Comment 14•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Attachment #358323 -
Flags: approval1.9.1?
Updated•16 years ago
|
Attachment #358323 -
Flags: approval1.9.1? → approval1.9.1+
Comment 15•16 years ago
|
||
Comment on attachment 358323 [details] [diff] [review]
patch v.5
a191=beltzner
Assignee | ||
Comment 16•16 years ago
|
||
Keywords: fixed1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•