[rtmpdump] r239 - in trunk: hashswf.c rtmp.h rtmpdump.c rtmpsuck.c streams.c

Howard Chu hyc at highlandsun.com
Tue Jan 19 03:19:41 CET 2010


NhJm wrote:
> Why not allow a swfAge of 0 to disable the cache?

No particular reason. Sounds fine, will commit that in a minute.

> On Mon, Jan 18, 2010 at 6:58 PM, hyc <subversion at mplayerhq.hu> wrote:
>> +        case 'X':
>> +         {
>> +           int num = atoi(optarg);
>> +           if (num < 1)
>> +             {
>> +               Log(LOGERROR, "SWF Age must be at least 1, ignoring\n");
>> +             }
>> +           else
>> +             {
>> +               swfAge = num;
>> +             }
>> +         }

Note that with this patch in place, you'll need to munge or recreate your
existing ~/.swfinfo file to add a "ctim:" line immediately after the "url:"
line. It would probably be easiest to just copy/paste an existing "date:" line
and change its prefix to "ctim:"...


More information about the rtmpdump mailing list