keeleysam / tenfourfox

Automatically exported from code.google.com/p/tenfourfox
0 stars 0 forks source link

QTE updates for 9.0 #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
QTE updates for 8.0:

- Update core library

- Browser needs configurable "claims" of internal support for H.264. To do 
this, create a new pref tenfourfox.media.qte.h264 defaulting to false. In 
content/html/content/src/nsHTMLMediaElement.cpp, add to ::CanHandleMediaType 
something like

if (Preferences::GetBool("tenfourfox.media.qte.h264")) {
  nsACString *aType = nsDependentCString(aMIMEType);
  for (PRUint32 i = 0; i < NS_ARRAY_LENGTH(gH264Types); ++i) {
    if (aType.EqualsASCII(gH264Types[i]))
      return PR_TRUE;
  }
}

and somewhere else

const char nsHTMLMediaElement::gH264Types[2][17] = {
  "video/webm",
  "audio/webm"
};

(the list can come from http://wiki.whatwg.org/wiki/Video_type_parameters). We 
should not install every MIME type yet; let's just stick to H.264 for now.

- The QTE then sets the preference when initialized. See if we can make it 
sticky only when the QTE is present.

- Investigate snooping on Flash streams.

Original issue reported on code.google.com by classi...@floodgap.com on 8 Oct 2011 at 1:21

GoogleCodeExporter commented 9 years ago
Blocked on Mozilla because they haven't made the damn 1.2 SDK available.

The settings are loaded and do appear to work for the media queries.

Original comment by classi...@floodgap.com on 17 Oct 2011 at 2:35

GoogleCodeExporter commented 9 years ago
We're going to sit on the h.264 changes now that we have YouTube integration.

Original comment by classi...@floodgap.com on 30 Oct 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Rolling to 9

Original comment by classi...@floodgap.com on 5 Nov 2011 at 5:06

GoogleCodeExporter commented 9 years ago
May be able to leverage this: 
https://bug705572.bugzilla.mozilla.org/attachment.cgi?id=579589

Original comment by classi...@floodgap.com on 8 Dec 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Well, we already are.

Closing until I think of something new to do.

Original comment by classi...@floodgap.com on 17 Dec 2011 at 9:32