From 050303ee7e9ad254903ae2960fb03dc871bac0c0 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 22 Mar 2004 19:18:56 +0000 Subject: [PATCH] Always write a CONT header. Also use the correct MIME type for RealAudio streams... --- src/mkvextract_tracks.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mkvextract_tracks.cpp b/src/mkvextract_tracks.cpp index 2814c3d1a..031958176 100644 --- a/src/mkvextract_tracks.cpp +++ b/src/mkvextract_tracks.cpp @@ -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 {