small hack to support mp3 in wav
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5731 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7f5173b413
commit
77611e5145
@ -66,6 +66,7 @@ FormatManager::GetDescriptionForFormat(media_format_description *out_description
|
|||||||
out_description->family = B_META_FORMAT_FAMILY;
|
out_description->family = B_META_FORMAT_FAMILY;
|
||||||
switch (in_format.u.encoded_audio.encoding) {
|
switch (in_format.u.encoded_audio.encoding) {
|
||||||
|
|
||||||
|
case B_WAV_FORMAT_FAMILY:
|
||||||
case B_MPEG_FORMAT_FAMILY:
|
case B_MPEG_FORMAT_FAMILY:
|
||||||
strcpy(out_description->u.meta.description, "audiocodec/mpeg1layer3");
|
strcpy(out_description->u.meta.description, "audiocodec/mpeg1layer3");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user