]> git.sesse.net Git - vlc/commitdiff
live555: handle DV over RTSP
authorBen Hutchings <ben@decadent.org.uk>
Sun, 24 May 2009 14:15:44 +0000 (15:15 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 24 May 2009 18:10:38 +0000 (21:10 +0300)
live555 now supports DV (DIF, video/dv) format.  Pass it through to
the DV demuxer.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/demux/live555.cpp

index 3a754097bfef75c4ce96941a8998abe53582a087..46724d7b637131c25e82a087e71dc0a14109180f 100644 (file)
@@ -998,6 +998,12 @@ static int SessionsSetup( demux_t *p_demux )
                         p_sys->p_out_asf = stream_DemuxNew( p_demux, "asf",
                                                             p_demux->out );;
                 }
+                else if( !strcmp( sub->codecName(), "DV" ) )
+                {
+                    tk->b_muxed = true;
+                    tk->p_out_muxed = stream_DemuxNew( p_demux, "rawdv",
+                                                       p_demux->out );
+                }
             }
 
             if( !tk->b_quicktime && !tk->b_muxed && !tk->b_asf )