removed codec registration bug, raw formats working again

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6254 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2004-01-24 16:55:14 +00:00
parent 174654a4ee
commit 40d68dd219

View File

@ -492,10 +492,10 @@ RawDecoderPlugin::RegisterDecoder()
// audio decoder
description.family = B_MISC_FORMAT_FAMILY;
description.family = B_BEOS_FORMAT_FAMILY;
description.u.beos.format = B_BEOS_FORMAT_RAW_AUDIO;
format.type = B_MEDIA_ENCODED_AUDIO;
format.u.encoded_audio = media_encoded_audio_format::wildcard;
format.type = B_MEDIA_RAW_AUDIO;
format.u.raw_audio = media_multi_audio_format::wildcard;
status_t status = formats.MakeFormatFor(&description, 1, &format);
if (status < B_OK)
@ -504,8 +504,8 @@ RawDecoderPlugin::RegisterDecoder()
// video decoder
description.u.beos.format = B_BEOS_FORMAT_RAW_VIDEO;
format.type = B_MEDIA_ENCODED_VIDEO;
format.u.encoded_video = media_encoded_video_format::wildcard;
format.type = B_MEDIA_RAW_VIDEO;
format.u.raw_video = media_raw_video_format::wildcard;
return formats.MakeFormatFor(&description, 1, &format);
}