Always write a CONT header. Also use the correct MIME type for RealAudio streams...

This commit is contained in:
Moritz Bunkus 2004-03-22 19:18:56 +00:00
parent 774014d944
commit 050303ee7e

View File

@ -105,8 +105,10 @@ static void
set_rmff_headers() {
int i;
for (i = 0; i < rmfiles.size(); i++)
for (i = 0; i < rmfiles.size(); i++) {
rmfiles[i]->cont_header_present = 1;
rmff_write_headers(rmfiles[i]);
}
}
static void
@ -424,7 +426,7 @@ create_output_files() {
"video/x-pn-realvideo");
else
rmff_set_track_data(tracks[i].rmtrack, "Audio",
"audio/x-pn-realvideo");
"audio/x-pn-realaudio");
} else {