[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6069 - Extractor/src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6069 - Extractor/src/plugins |
Date: |
Mon, 31 Dec 2007 05:59:21 -0700 (MST) |
Author: holindho
Date: 2007-12-31 05:59:21 -0700 (Mon, 31 Dec 2007)
New Revision: 6069
Modified:
Extractor/src/plugins/flvextractor.c
Log:
add ScreenVideo
Modified: Extractor/src/plugins/flvextractor.c
===================================================================
--- Extractor/src/plugins/flvextractor.c 2007-12-31 11:52:54 UTC (rev
6068)
+++ Extractor/src/plugins/flvextractor.c 2007-12-31 12:59:21 UTC (rev
6069)
@@ -892,12 +892,10 @@
stinfo->videoHeight = ((data[5] & 0x7F) >> 1) | (data[6] >> 7);
}
else if (frame_size == 1) {
- stinfo->videoWidth = ((data[4] & 0x7F) << 9) |
- (data[5] << 1) |
+ stinfo->videoWidth = ((data[4] & 0x7F) << 9) | (data[5] << 1) |
(data[6] >> 7);
- stinfo->videoHeight = ((data[6] & 0x7F) << 9) |
- (data[7] << 1) |
- (data[8] >> 7);
+ stinfo->videoHeight = ((data[6] & 0x7F) << 9) | (data[7] << 1) |
+ (data[8] >> 7);
}
else {
stinfo->videoWidth = sorenson_predefined_res[frame_size][0];
@@ -905,6 +903,12 @@
}
}
break;
+ case 0x03: /* ScreenVideo */
+ if (len < 5)
+ break;
+ stinfo->videoWidth = readInt(&data) & 0x0FFF;
+ stinfo->videoHeight = readInt(&data) & 0x0FFF;
+ break;
case 0x04: /* On2 VP6 */
case 0x05:
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6069 - Extractor/src/plugins,
gnunet <=