# HG changeset patch # User reimar # Date 1170954204 0 # Node ID 6d8f2be532d46bcf8703c09044a909e44378f144 # Parent a6a93224cf4dc3b199d0b3516801a796200f9149 Quick hack mostly for documentation purposes to make -aid work with mms:// Sample: mms://212.191.227.121/308gwY8TZqvHUpsq4dbZnsijbiCi9j3KsguBrfbm2FiDMlBadHuF0g0%2b1%2bUKG84F2Sl6DVTxHNtNuMxa%2f55j0imtiKswx8ev7cEYxvNuAlSBioF3nYmzTAM71xKiTHjM6%2fqejrQgFg7srIdntNoIw%2fyw%3d%3d/1 diff -r a6a93224cf4d -r 6d8f2be532d4 stream/asf_mmst_streaming.c --- a/stream/asf_mmst_streaming.c Thu Feb 08 15:42:53 2007 +0000 +++ b/stream/asf_mmst_streaming.c Thu Feb 08 17:03:24 2007 +0000 @@ -64,6 +64,9 @@ #include "network.h" #include "tcp.h" +extern int audio_id; +extern int video_id; + #define BUF_SIZE 102400 #define HDR_BUF_SIZE 8192 #define MAX_STREAMS 20 @@ -645,6 +648,12 @@ memset (data, 0, 40); + if (audio_id > 0) { + data[2] = 0xFF; + data[3] = 0xFF; + data[4] = audio_id; + send_command(s, 0x33, num_stream_ids, 0xFFFF | audio_id << 16, 8, data); + } else { for (i=1; i