[haiku] Re: Ogg audio and mimeset

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 2 May 2016 14:27:54 -0700

On Mon, May 02, 2016 at 09:22:02AM +0200, PulkoMandy wrote:


I see they both have the same Rule in Filetypes, but only the audio
version has the extension '.ogg'.  I don't know anything about the format,
so I've no idea
if there's some rule that could distinguish, but it'd be nice if it could
get it right
without having to correct it manually...


The format is quite complex and flexible and I didn't find an easy way to
distinguish audio from video files with our sniffing rules. Maybe we can
use some tricks by looking at the number of "tracks" (2 tracks is most
likely audio+video) or something similar.

I suspected that might be the case.  Pity.  I suppose there's no way
to prioritize the extension over the rule as they seem to differ for
audio and video?

        -- Pete --

Other related posts: