Opened 4 years ago

Last modified 4 years ago

#15439 new bug

[Preferences/Sound] set file filter for picker

Reported by: nephele Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Preferences/Sounds Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev53555

Preferences/Sound Will display all files to pick from to get a sound from, even files it does not support. It will show "not an audio file" then.

On another similar thing, i wanted to use a video as a soundsource which is not allowed, should this be changed? (I.e automatically strip out the audio track and save it somewhere to use)

Change History (3)

comment:1 by nephele, 4 years ago

Also, it complained that my .opus files were not audio files, is the preferneces thing using something other than the media kit? MediaPlayer has no problem playing the opus files.

comment:2 by nephele, 4 years ago

for the .opus file:

They are set to BEOS:TYPE video/ogg, when i switch them to audio/ogg sounds then has no problem to play them.

The problem here seams to be that video/ogg gets assigned to the file even though the file has no video track at all, thus making this particular mimetype unsuitable for detection of whether a video track is contained or not.

comment:3 by pulkomandy, 4 years ago

Summary: Prefernces/Sound set file filter for picker[Preferences/Sound] set file filter for picker
Note: See TracTickets for help on using tickets.