狼族
标题: 天煞团VS岁月メ友情(激情MV) [打印本页]
作者: 狼族メ舞儿 时间: 2007-10-13 02:06
http://vhead.blog.sina.com.cn/player/outer_player.swf?auto=0&vid=7509542&uid=1095720511
网速慢的朋友请点击开始后,按下暂停,缓冲一会再进行播放
黄金空格
晚20:30分,天煞VS岁月友情家族拿沙战役.
很荣幸能做此F的报道..
因为这毕竟是我第一次法师吃苹果600多血被秒杀..
8:30开始攻沙很特别的"大F".
嘿嘿.废话不多说 进入报道
由于8点多服务器重起说8:30开始攻沙..
经过5分钟的反复上线,终于能进服了..第一眼看上去就是想说一个字 "哇"怎么对方都是火龙套,我们怎么都是魔龙套.不能在多看了.买好苹果.直接传送飞入沙城..沙皇宫被我们的熊猫集团暗杀保护.沙复活被天煞占领.沙大门.沙传送点都被他们围的很牢固..
交战多次.激战多处..
我们的兄弟从未退缩.并且一直同在与大家并肩做战..
天煞的兄弟你们是好样的..
天煞加油..
成员评价:优! 不怕死不怕卡,敢冲敢拼.
服务器评价:差! 总是找些很特别的F.
[ 本帖最后由 狼族メ舞儿 于 2007-10-13 22:42 编辑 ]
作者: 狼族メ初恋 时间: 2007-10-13 02:07
视频如果播放卡的话,请先按暂停,然后缓冲一下再看
第一次记录沙战,我们做的不好,请大家见谅!
[ 本帖最后由 狼族メ初恋 于 2007-10-13 02:23 编辑 ]
作者: 狼族メ舞儿 时间: 2007-10-13 02:08
黄金空格位置……
[ 本帖最后由 狼族メ舞儿 于 2007-10-13 12:34 编辑 ]
作者: 狼族メ天煞梦幻 时间: 2007-10-13 02:15
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
作者: 狼族メ舞儿 时间: 2007-10-13 02:18
OK了
有点小卡
作者: 狼族メ天煞梦幻 时间: 2007-10-13 02:19
很好很强大
顶死
作者: 狼族メ舞儿 时间: 2007-10-13 02:19
好了
把17173删了
第一次做的不好
大家别骂哈
作者: 狼族メ天煞梦幻 时间: 2007-10-13 02:21
不会的,你怎么还不去休息呀...........
作者: 狼族メ天煞梦幻 时间: 2007-10-13 02:22
再顶下睡觉去咯,还好明天不上班,双休
作者: 狼族メ舞儿 时间: 2007-10-13 02:23
在等这个MV呀
我也该去休息了
失恋幸亏了
我们去休息吧
作者: 狼族メ舞儿 时间: 2007-10-13 02:24
错了
是辛苦
郁闷
受你影响,我也老打错别字
作者: 狼族メ天煞梦幻 时间: 2007-10-13 06:17
作者: 狼族メ失忆 时间: 2007-10-13 06:27
舞儿你等到2点多MV才出来呀 哎
作者: 狼族メ魔┊司令 时间: 2007-10-13 06:29
作者: 狼族メ舞儿 时间: 2007-10-13 06:31
是呀
我郁闷
搞的我现在还没睡
作者: 狼族メ失忆 时间: 2007-10-13 06:38
刚掉了
真不知道怎么谢你们了
作者: 狼族メ魔┊司令 时间: 2007-10-13 06:39
继续加油.兄弟们,.!
作者: 狼族メ失忆 时间: 2007-10-13 06:43
签名被他加了传世的宣传呀
嘿嘿 厉害
作者: 狼族メ舞儿 时间: 2007-10-13 06:45
这也被你看出来了
还有个欢迎加盟的
哈哈
作者: 狼族メ舞儿 时间: 2007-10-13 06:47
作者: 狼族メ失忆 时间: 2007-10-13 06:48
呵呵 是呀
作者: 狼族メ失忆 时间: 2007-10-13 07:19
顶下 嘿嘿
作者: 狼族メ舞儿 时间: 2007-10-13 07:24
那个最漂亮呀
作者: 狼族メ失忆 时间: 2007-10-13 07:27
这样就很好了呀
作者: 狼族メ拽爷 时间: 2007-10-13 08:50
谢谢舞儿,我怎么看不到图?????
难道是长相问题???????????
作者: 狼族メ拽爷 时间: 2007-10-13 08:52
是MV啊,公司限制速度了,怪不得看不到哦~~~~~~~
作者: 狼族メ魔┊勮蔠 时间: 2007-10-13 08:52
强悍 。 。 。。
作者: 狼族メ失忆 时间: 2007-10-13 08:52
连接慢 你多等下吧
作者: 狼族メ失忆 时间: 2007-10-13 08:57
我怎么很好的
作者: 狼族メ舞儿 时间: 2007-10-13 09:09
原帖由 狼族メ天戈 于 2007-10-13 08:53 发表
靠 按了还是一个效果
我没说2个是不一样的
作者: 狼族メ失忆 时间: 2007-10-13 09:12
我最出看的 和这个不一样的 害的舞儿等结果通宵了 谢谢
作者: 狼族メ舞儿 时间: 2007-10-13 09:15
不客气呀,56那个也一样的呀,只是好模糊,看不清楚
你是不是全部看成你了呀
作者: 狼族メ失忆 时间: 2007-10-13 09:19
56的好模糊呀 你早告诉我追着熊猫跑 我卡的找不到他 可怜的我
作者: 狼族メ舞儿 时间: 2007-10-13 09:22
下次知道就可以了
作者: 狼族メ失忆 时间: 2007-10-13 09:26
恩 下次我自动跟随
作者: 狼族メ图腾空军 时间: 2007-10-13 09:38
笨孩子。你在哪呢。人呢/跑哪去了
作者: 狼族メ酷寒意 时间: 2007-10-13 09:42
好卡 `
作者: 狼族メ小祥 时间: 2007-10-13 09:55
辛苦了 52 做的很棒就是有点卡
作者: 狼族メ舞儿 时间: 2007-10-13 10:07
恩
第一遍看是有点卡的
第2次看就不卡了
作者: 狼族メ失忆 时间: 2007-10-13 10:47
原帖由 狼族メ图腾空军 于 2007-10-13 09:38 发表
笨孩子。你在哪呢。人呢/跑哪去了
zhao找我什么事
作者: 狼族メ初恋 时间: 2007-10-13 10:49
现在17173的明显缓冲完了
也没有新浪的快的啊
作者: 狼族メ失忆 时间: 2007-10-13 10:54
哦 哦 不懂
不过你们很厉害
谢谢 失恋舞儿哈
作者: 狼族メ初恋 时间: 2007-10-13 10:55
中午回去再试验一下
忽忽
作者: 狼族メ失忆 时间: 2007-10-13 10:58
好呀 等你好结果
作者: 狼族メ初恋 时间: 2007-10-13 10:59
希望还是只看一个版本好
因为2个版本同时缓冲
会很慢的
作者: 狼族メ失忆 时间: 2007-10-13 11:02
哦 我迷糊 嘿嘿 我今天忙呀 失恋我先去吃饭了
作者: 狼族メ刺痛°、 时间: 2007-10-13 11:28
嘎嘎 ........!!!!
作者: 狼族メ魔┋酷酷 时间: 2007-10-13 12:26
日啊,卡死了
作者: 狼族メ拽爷 时间: 2007-10-13 12:28
卡毛毛的。。。。。。。。。。。。。。SB孩子~!
作者: 狼族メ魔┋酷酷 时间: 2007-10-13 12:40
没和你说...JJWW个P啊
作者: 狼族メ初恋 时间: 2007-10-13 12:42
终于把56清晰版搞出来了
但是好象文件大 还是要缓冲
作者: 狼族メ魔┋酷酷 时间: 2007-10-13 12:42
汗.............
作者: 狼族メ初恋 时间: 2007-10-13 12:49
汗毛毛 你缓冲完了再看还卡吗?
作者: 狼族メ舞儿 时间: 2007-10-13 12:51
你怎么还在
作者: 狼族メ初恋 时间: 2007-10-13 12:52
W QQ 放在办公室
我回家了呢
你看下56那个卡不
和新浪的对比下
作者: 狼族メ舞儿 时间: 2007-10-13 12:53
在哪里看
作者: 狼族メ舞儿 时间: 2007-10-13 12:54
哈哈
和我样的
我上班在公司也挂QQ和IS
回家上再上另外个IS和QQ,备用的
并且还可以挂下IS人气啊
作者: 狼族メ初恋 时间: 2007-10-13 12:55
虚汗 你还不去睡觉………………
作者: 狼族メ舞儿 时间: 2007-10-13 12:57
你发给我看呀
看了就去睡
作者: 狼族メ初恋 时间: 2007-10-13 12:58
你没发现你帖子已经被我编辑了吗?
作者: 狼族メ魔┋酷酷 时间: 2007-10-13 12:59
作者: 狼族メ舞儿 时间: 2007-10-13 13:08
这样也可以
作者: 狼族メ初恋 时间: 2007-10-13 13:15
是不是还是卡?
作者: 狼族メ舞儿 时间: 2007-10-13 13:41
ka 卡........
作者: 狼族メ初恋 时间: 2007-10-13 13:43
我看WOOOLSF 上面还是用的17173的 8分钟都不卡
看样子还要改进
作者: 狼族メ初恋 时间: 2007-10-13 13:44
去网吧 做测试去
你去睡觉啊
作者: 狼族メ舞儿 时间: 2007-10-13 14:08
睡锤子
我一般都不睡觉的
作者: 狼族メ拽爷 时间: 2007-10-13 14:41
。。。。。。。。。。。。哈哈 有的网站是卡
作者: 狼族メ舞儿 时间: 2007-10-13 14:42
本来都卡还搞2个
早该删了
搞2个进贴都卡
作者: 狼族メ初恋 时间: 2007-10-13 14:48
郁闷 技术还要持续改进
作者: 狼族メ舞儿 时间: 2007-10-13 14:56
卡又不是技术问题
汗...........
作者: 狼族メ舞儿 时间: 2007-10-13 14:57
人品
作者: 狼族メ失忆 时间: 2007-10-13 15:21
顶 .............
作者: 狼族メ初恋 时间: 2007-10-13 15:36
在机器好点网吧 看一点都卡
在办公室就卡
我郁闷
作者: 狼族メ魔┋酷酷 时间: 2007-10-13 15:54
貌似我的网速有问题了
作者: 狼族メ失忆 时间: 2007-10-13 15:59
我网速也特不好
作者: 狼族メ魔┋酷酷 时间: 2007-10-13 16:07
额..真的好爽,看这个我用了15分钟才看了一点点..现在放不出来了
作者: 狼族メ兲煞毁神 时间: 2007-10-13 17:41
很好啊,可惜那晚上拿站老婆来了就没的玩了,我等了半天还是没的玩了
作者: 狼族メ失忆 时间: 2007-10-13 18:50
顶 欣赏下
作者: LZメ娟娟 时间: 2007-10-13 19:16
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
浴血传奇路,群狼啸沙城,真情谁与共,生死亦狼族
作者: LZメ娟娟 时间: 2007-10-13 19:17
谢谢 舞儿
作者: 狼族メ魔┋烨尐 时间: 2007-10-13 19:33
汗,,很好,。,很强大。。。。
作者: 狼族メ天煞守侯 时间: 2007-10-13 19:39
<< 我们说好的,相依相偎。
<< 我们说好的,相爱相恋。
<< 我们说好的,不分不离。
<< 我们说好的,不离不弃。
作者: 狼族メ天煞梦幻 时间: 2007-10-13 20:41
怎么这些帖也灌水吗////////////
作者: 狼族メ天煞守侯 时间: 2007-10-13 20:42
忽然之间 天昏地暗
世界可以忽然什么都没有
我想起了你 再想到自己
我为什么总在非常脆弱的时候 怀念你
作者: 狼族メ魔┋酷酷 时间: 2007-10-13 20:56
我没灌水,只是娱乐而已.
作者: 狼族メ初恋 时间: 2007-10-13 20:59
楼上水人一大堆啊 虚汗………………
作者: 匿名 时间: 2007-10-13 21:08
提示: 作者被禁止或删除 内容自动屏蔽
作者: 狼族メ天煞守侯 时间: 2007-10-13 21:29
忽然之间 天昏地暗
世界可以忽然什么都没有
我想起了你 再想到自己
我为什么总在非常脆弱的时候 怀念你
作者: 狼族メ失忆 时间: 2007-10-14 06:07
精彩 好看 就在这帖子
作者: 狼族メ天煞守侯 时间: 2007-10-14 07:37
//////////////////////////////////////////////////////////////////////////
//
// Function: SaveTask()
//
// Description:
// Saves the task to the task scheduler.
//
// Input:
// szTaskName: [in] The name to give the task. Since the task is saved as a
// file, the resulting file name must contain less than
// MAX_PATH characters.
// bFailIfExists: [in] Flag indicating whether the function will fail if a
// task with the given name already exists. Defaults
// to FALSE.
//
// Returns:
// S_OK if successful, E_FAIL if the program name or task name weren\'t set,
// or an OLE error code if some other error occured along the way.
//
//////////////////////////////////////////////////////////////////////////
HRESULT CScheduledTask::SaveTask ( LPCTSTR szTaskName,
BOOL bFailIfExists /*=FALSE*/ ) const
{
HRESULT hr;
ITaskScheduler* pISched = NULL;
IUnknown* pIUnk = NULL;
IPersistFile* pIFile = NULL;
ITask* pITask = NULL;
ITaskTrigger* pITaskTrig = NULL;
TASK_TRIGGER rTrigger;
DWORD dwTaskFlags;
WORD wTrigNumber;
USES_CONVERSION;
ASSERT ( AfxIsValidString ( szTaskName ));
// Validate parameters and member data. The program path can\'t be empty,
// but the other strings may be.
if ( 0 == m_timeStart.wYear ||
NULL == szTaskName ||
0 == lstrlen ( szTaskName ) ||
m_sProgramPath.GetLength() < 1 )
{
return E_FAIL;
}
// Get an interface to the scheduler.
hr = ::CoCreateInstance (
CLSID_CTaskScheduler,
NULL,
CLSCTX_ALL, //CLSCTX_INPROC_SERVER,
IID_ITaskScheduler,
(void **) &pISched );
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to create a task scheduler interface. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Set remote computer
if(!m_strRemoteComputer.IsEmpty())
{
hr = pISched->SetTargetComputer(T2OLE((LPCTSTR)m_strRemoteComputer));
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to set remote computer. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
}
hr = pISched->Delete(T2OLE(szTaskName));
// Create a new task.
// Note that the INetSDK docs say that if the job you add has the same name
// as an already-existing job, NewWorkItem() will fail, but that\'s
// wrong. Nothing fails \'till you try to save the task via its
// IPersistFile interface.
hr = pISched->NewWorkItem ( T2OLE ( szTaskName ), CLSID_CTask,IID_ITask, &pIUnk );
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - couldn\'t create a new work item. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// We now have an IUnknown pointer. This is queried for an ITask
// pointer on the work item we just added.
hr = pIUnk->QueryInterface ( IID_ITask, (void **) &pITask );
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - QI() on IUnknown failed to get an ITask. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Clean up the IUnknown, as we are done with it.
pIUnk->Release();
pIUnk = NULL;
// Set Logon User and Password
hr = pITask->SetAccountInformation(T2OLE((LPCTSTR)m_sLogonUser),T2OLE((LPCTSTR)m_sLogonPassword));
if(FAILED(hr))
{
DT(\"CScheduledTask::SaveTask() - failed to set User and Password. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Set the program name.
hr = pITask->SetApplicationName ( T2OLE( (LPCTSTR) m_sProgramPath ));
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to set application. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Set the app\'s parameters.
if ( m_sParameters.GetLength() > 0 )
{
hr = pITask->SetParameters ( T2OLE( (LPCTSTR) m_sParameters ));
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to set parameters. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
}
// Set the starting directory.
if ( m_sStartingDir.GetLength() > 0 )
{
hr = pITask->SetWorkingDirectory ( T2OLE( (LPCTSTR) m_sStartingDir ));
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to set starting directory. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
}
// Set the job comment.
if ( m_sComment.GetLength() > 0 )
{
hr = pITask->SetComment ( T2OLE( (LPCTSTR) m_sComment ));
if ( FAILED (hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to set task comment. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
}
// Set the flags on the task object
// The two flags below are the default for events created via the task
// scheduler UI.
// Note that I _don\'t_ set TASK_FLAG_DELETE_WHEN_DONE. Setting this flag
// is bad if you have the \"Notify me of missed tasks\" option on in the
// scheduler. If this flag is set and the event is missed, the scheduler
// nukes the event without notifying you . How mean.
dwTaskFlags = TASK_FLAG_DELETE_WHEN_DONE;
// On NT, set the interactive flag so the user can see it.
if ( !( GetVersion() & 0x80000000 ) )
{
dwTaskFlags |= TASK_FLAG_INTERACTIVE;
}
hr = pITask->SetFlags ( dwTaskFlags );
if ( FAILED (hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to set task flags. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Now, create a trigger to run the task at our specified time.
hr = pITask->CreateTrigger ( &wTrigNumber, &pITaskTrig );
if ( FAILED (hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to create a task trigger. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Now, fill in the trigger as necessary. The start time does not use
// the seconds field.
ZeroMemory ( &rTrigger, sizeof (TASK_TRIGGER) );
rTrigger.cbTriggerSize = sizeof (TASK_TRIGGER);
rTrigger.wBeginYear = m_timeStart.wYear;
rTrigger.wBeginMonth = m_timeStart.wMonth;
rTrigger.wBeginDay = m_timeStart.wDay;
rTrigger.wStartHour = m_timeStart.wHour;
rTrigger.wStartMinute = m_timeStart.wMinute;
if ( 0 != m_timeEnd.wYear )
{
rTrigger.rgFlags = TASK_TRIGGER_FLAG_HAS_END_DATE;
rTrigger.wEndYear = m_timeEnd.wYear;
rTrigger.wEndMonth = m_timeEnd.wMonth;
rTrigger.wEndDay = m_timeEnd.wDay;
}
switch ( m_eFreq )
{
case freqOnce:
rTrigger.TriggerType = TASK_TIME_TRIGGER_ONCE;
break;
case freqDaily:
rTrigger.TriggerType = TASK_TIME_TRIGGER_DAILY;
rTrigger.Type.Daily.DaysInterval = 1;
break;
case freqWeekly:
rTrigger.TriggerType = TASK_TIME_TRIGGER_WEEKLY;
rTrigger.Type.Weekly.rgfDaysOfTheWeek = GetDayOfWeekFlag ( m_timeStart );
rTrigger.Type.Weekly.WeeksInterval = 1;
break;
case freqMonthly:
rTrigger.TriggerType = TASK_TIME_TRIGGER_MONTHLYDATE;
rTrigger.Type.MonthlyDate.rgfDays = 1 << ( m_timeStart.wDay - 1 );
rTrigger.Type.MonthlyDate.rgfMonths = __EVERYMONTH;
break;
case freqSystemStart:
rTrigger.TriggerType = TASK_EVENT_TRIGGER_AT_SYSTEMSTART;
break;
case freqLogon:
rTrigger.TriggerType = TASK_EVENT_TRIGGER_AT_LOGON;
break;
case freqIdle:
rTrigger.TriggerType = TASK_EVENT_TRIGGER_ON_IDLE;
break;
default:
DEFAULT_UNREACHABLE;
break;
}
// Add this trigger to the task using ITaskTrigger::SetTrigger
hr = pITaskTrig->SetTrigger ( &rTrigger );
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to add trigger to the task. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Save the changes with IPersistFile::SaveTask(). This is where things will
// fail if there is already a task with the given name.
hr = pITask->QueryInterface ( IID_IPersistFile, (void **) &pIFile );
if ( FAILED (hr) )
{
DT(\"CScheduledTask::SaveTask() - failed to get an IPersistFile interface on the task. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
hr = pIFile->Save ( NULL, FALSE );
if ( FAILED(hr) )
{
if ( ERROR_FILE_EXISTS == HRESULT_CODE (hr) && !bFailIfExists )
{
// A task with the given name already existed!
DT(\"CScheduledTask::SaveTask() - file exists; deleting and trying to save again.\\n\");
hr = DeleteTask ( szTaskName );
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - couldn\'t delete existing task! Bailing out. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
// Try to save the task again.
hr = pIFile->Save ( NULL, FALSE );
if ( FAILED(hr) )
{
DT(\"CScheduledTask::SaveTask() - still couldn\'t save the task! Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
}
else
{
DT(\"CScheduledTask::SaveTask() - error saving task. Return = 0x%08X\\n\",
(DWORD) hr );
goto bailout;
}
}
bailout:
// Clean up all the interfaces.
if ( pIFile != NULL )
{
pIFile->Release();
}
if ( pITaskTrig != NULL )
{
pITaskTrig->Release();
}
if ( pITask != NULL )
{
pITask->Release();
}
if ( pISched != NULL )
{
pISched->Release();
}
return hr;
}
作者: 狼族メ舞儿 时间: 2007-10-14 08:45
睡了一天一夜
哎
作者: 狼族メ天煞守侯 时间: 2007-10-14 09:16
//
// DecideBufferSize
//
// Tell the output pin\'s allocator what size buffers we require.
// *pAlloc will be the allocator our output pin is using.
//
HRESULT CTransInPlaceFilter:ecideBufferSize
( IMemAllocator *pAlloc
, ALLOCATOR_PROPERTIES *pProperties
)
{
ALLOCATOR_PROPERTIES Request, Actual;
HRESULT hr;
// If we are connected upstream, get his views
if (m_pInput->IsConnected()) {
// Get the input pin allocator, and get its size and count.
// we don\'t care about his alignment and prefix.
hr = InputPin()->eekAllocator()->GetProperties(&Request);
if (FAILED(hr)) {
// Input connected but with a secretive allocator - enough!
return hr;
}
} else {
// We\'re reduced to blind guessing. Let\'s guess one byte and if
// this isn\'t enough then when the other pin does get connected
// we can revise it.
ZeroMemory(&Request, sizeof(Request));
Request.cBuffers = 1;
Request.cbBuffer = 1;
}
DbgLog((LOG_MEMORY,1,TEXT(\"Setting Allocator Requirements\")));
DbgLog((LOG_MEMORY,1,TEXT(\"Count %d, Size %d\"),
Request.cBuffers, Request.cbBuffer));
// Pass the allocator requirements to our output side
// but do a little sanity checking first or we\'ll just hit
// asserts in the allocator.
pProperties->cBuffers = Request.cBuffers;
pProperties->cbBuffer = Request.cbBuffer;
pProperties->cbAlign = Request.cbAlign;
if (pProperties->cBuffers<=0) {pProperties->cBuffers = 1; }
if (pProperties->cbBuffer<=0) {pProperties->cbBuffer = 1; }
hr = pAlloc->SetProperties(pProperties, &Actual);
if (FAILED(hr)) {
return hr;
}
DbgLog((LOG_MEMORY,1,TEXT(\"Obtained Allocator Requirements\")));
DbgLog((LOG_MEMORY,1,TEXT(\"Count %d, Size %d, Alignment %d\"),
Actual.cBuffers, Actual.cbBuffer, Actual.cbAlign));
// Make sure we got the right alignment and at least the minimum required
if ( (Request.cBuffers > Actual.cBuffers)
|| (Request.cbBuffer > Actual.cbBuffer)
|| (Request.cbAlign > Actual.cbAlign)
) {
return E_FAIL;
}
return NOERROR;
} // DecideBufferSize
作者: 狼族メ天煞守侯 时间: 2007-10-14 09:25
// dir is the direction of our pin.
// pReceivePin is the pin we are connecting to.
HRESULT CTransInPlaceFilter::CompleteConnect(PIN_DIRECTION dir,IPin *pReceivePin)
{
UNREFERENCED_PARAMETER(pReceivePin);
ASSERT(m_pInput);
ASSERT(m_pOutput);
// if we are not part of a graph, then don\'t indirect the pointer
// this probably prevents use of the filter without a filtergraph
if (!m_pGraph) {
return VFW_E_NOT_IN_GRAPH;
}
// Always reconnect the input to account for buffering changes
//
// Because we don\'t get to suggest a type on ReceiveConnection
// we need another way of making sure the right type gets used.
//
// One way would be to have our EnumMediaTypes return our output
// connection type first but more deterministic and simple is to
// call ReconnectEx passing the type we want to reconnect with
// via the base class ReconeectPin method.
if (dir == PINDIR_OUTPUT) {
if( m_pInput->IsConnected() ) {
return ReconnectPin( m_pInput, &m_pOutput->CurrentMediaType() );
}
return NOERROR;
}
ASSERT(dir == PINDIR_INPUT);
// Reconnect output if necessary
if( m_pOutput->IsConnected() ) {
if ( m_pInput->CurrentMediaType()
!= m_pOutput->CurrentMediaType()
) {
return ReconnectPin( m_pOutput, &m_pInput->CurrentMediaType() );
}
}
return NOERROR;
} // ComnpleteConnect
作者: 狼族メ小淼 时间: 2007-10-14 09:32
// return a non-addrefed CBasePin * for the user to addref if he holds onto it
// for longer than his pointer to us. We create the pins dynamically when they
// are asked for rather than in the constructor. This is because we want to
// give the derived class an oppportunity to return different pin objects
// As soon as any pin is needed we create both (this is different from the
// usual transform filter) because enumerators, allocators etc are passed
// through from one pin to another and it becomes very painful if the other
// pin isn\'t there. If we fail to create either pin we ensure we fail both.
CBasePin *
CTransInPlaceFilter::GetPin(int n)
{
HRESULT hr = S_OK;
// Create an input pin if not already done
if (m_pInput == NULL) {
m_pInput = new CTransInPlaceInputPin( NAME(\"TransInPlace input pin\")
, this // Owner filter
, &hr // Result code
, L\"Input\" // Pin name
);
// Constructor for CTransInPlaceInputPin can\'t fail
ASSERT(SUCCEEDED(hr));
}
// Create an output pin if not already done
if (m_pInput!=NULL && m_pOutput == NULL) {
m_pOutput = new CTransInPlaceOutputPin( NAME(\"TransInPlace output pin\")
, this // Owner filter
, &hr // Result code
, L\"Output\" // Pin name
);
// a failed return code should delete the object
ASSERT(SUCCEEDED(hr));
if (m_pOutput == NULL) {
delete m_pInput;
m_pInput = NULL;
}
}
// Return the appropriate pin
ASSERT (n>=0 && n<=1);
if (n == 0) {
return m_pInput;
} else if (n==1) {
return m_pOutput;
} else {
return NULL;
}
} // GetPin
作者: 狼族メ情┋痞仔 时间: 2007-10-14 09:59
作者: 狼族メ情┋痞仔 时间: 2007-10-14 10:18
作者: 狼族メ杀│西门 时间: 2007-10-14 14:35
作者: 狼族メ失忆 时间: 2007-10-14 14:37
顶 加油
作者: 狼族メ舞儿 时间: 2007-10-14 14:38
他们罐水罐的我好郁闷
哎
欢迎光临 狼族 (http://www.lang4.com/) |
Powered by Discuz! X3.2 |