Ticket #11180: v024_mkv_downloads_and_streaming.patch

File v024_mkv_downloads_and_streaming.patch, 818 bytes (added by r.d.vaughan@…, 8 years ago)

MythWeb v0.24 patch

  • modules/stream/stream_raw.pl

    From 860ba3aab157864e8bf82ba6c98eaed80164ca10 Mon Sep 17 00:00:00 2001
    From: "R.D. Vaughan" <r.d.vaughan@rogers.com>
    Date: Tue, 16 Oct 2012 06:18:59 -0400
    Subject: [PATCH 19/19] Log: Add mkv container support for download links and
     streaming.
    
    ---
     modules/stream/stream_raw.pl |    4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/modules/stream/stream_raw.pl b/modules/stream/stream_raw.pl
    index c574650..aac29f0 100755
    a b  
    3434        $type   = 'video/nuppelvideo';
    3535        $suffix = '.nuv';
    3636    }
     37    elsif ($basename =~ /\.mkv$/) {
     38            $type   = 'video/x-matroska';
     39            $suffix = '.mkv';
     40    }
    3741    else {
    3842        print header(),
    3943              "Unknown video type requested:  $basename\n";