[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: How to determine a file format of a given file with ARTS
From:       Neil Stevens <neil () qualityassistant ! com>
Date:       2002-04-02 11:51:11
[Download RAW message or body]

On Tuesday April 02, 2002 04:46, Joseph Wenninger wrote:
> Hi
>
> I'm writing an kreatecd plugin, which should use arts as decoder. There
> is one thing I'm not sure of yet, how do I determine if a ARTS
> decodeable file is an audio or an video playobject ? If possibly without
> breaking kreatecd, when the new video capabilities are put into arts.

Check the mimetype.  If it starts with audio/, assume it's audio.  If it 
starts with video/, assume it's video.  If it starts with application/, 
then guess.

-- 
Neil Stevens - neil@qualityassistant.com
"I always cheer up immensely if an attack is particularly wounding
because I think, well, if they attack one personally, it means they
have not a single political argument left." - Margaret Thatcher

_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic