Bug#716954: browser-plugin-vlc: One semicolon too much in the NPP_GetMIMEDescription() output?

Petter Reinholdtsen pere at hungry.com
Mon Jul 15 09:46:51 UTC 2013


Package: browser-plugin-vlc
Version: 2.0.6-1

While making a summary of the supported MIME types of various browser
plugins for <URL: http://wiki.debian.org/DebianEdu/BrowserMultimedia >,
I discovered what I believe is a typo in the browser-plugin-vlc package.

The output from NPP_GetMIMEDescription() got a semicolon too much in the
entry "audio/ogg;codecs=opus:opus:Opus audio;".  It is easy to see when
filtering the output using sed "s/;/;\n/g", giving you this list
fragment:

  application/x-ogg:ogg:Ogg stream;
  audio/ogg;
  codecs=opus:opus:Opus audio;
  application/x-vlc-plugin::VLC plug-in;

According to
<URL: https://developer.mozilla.org/en-US/docs/NP_GetMIMEDescription >
each entry in the MIME support list is separated by semicolon, and
having entries with semicolon in them is going to confuse the parsers of
the MIME support list.

I'm not sure what the effect of this MIME entry is, nor how to properly
fix it while keeping the codec information intact, but thought it best
to report it for your consideration.

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-multimedia-maintainers mailing list