fixed BMediaTrack::EncodedFormat(), BeOS MediaPlayer now recognizes the tracks!

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5583 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2003-12-05 23:23:18 +00:00
parent c90d275292
commit ac800e9cd8

View File

@ -40,6 +40,7 @@ BMediaTrack::GetCodecInfo(media_codec_info *mci) const
return B_NO_INIT;
*mci = fMCI;
return B_OK;
}
@ -53,8 +54,8 @@ BMediaTrack::EncodedFormat(media_format *out_format) const
if (!fExtractor)
return B_NO_INIT;
out_format = fExtractor->EncodedFormat(fStream);
printf("encoded format\n");
*out_format = *fExtractor->EncodedFormat(fStream);
return B_OK;
}