From Magnus Kessler, "Changes to the quicktime plugin to remove unused variables and an unused
static function."
This commit is contained in:
parent
93ad63405f
commit
d74ffd57aa
@ -316,15 +316,8 @@ void probe_video_digitizer_components()
|
||||
}
|
||||
}
|
||||
|
||||
static Boolean MyModalFilter(DialogPtr theDialog, const EventRecord *theEvent, short *itemHit, long refCon)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
OSG_SGDeviceList print_sequence_grabber_device_list(SGDeviceList deviceList)
|
||||
{
|
||||
ComponentResult result = noErr;
|
||||
|
||||
short count = (*deviceList)->count;
|
||||
short selectedIndex = (*deviceList)->selectedIndex;
|
||||
OSG_NOTICE << "DeviceList : " << count << " devices in total" << std::endl;
|
||||
@ -474,9 +467,6 @@ std::vector<OSG_SGDeviceList> probe_sequence_grabber_components()
|
||||
// }
|
||||
// Usage
|
||||
result = SGSetChannelUsage (gVideoChannel, seqGrabPreview);
|
||||
// Panel
|
||||
// Crashes every time
|
||||
// result = SGSettingsDialog(gSeqGrabber, gVideoChannel, 0, 0, seqGrabSettingsPreviewOnly, &MyModalFilter, 0);
|
||||
// Bounds
|
||||
result = SGGetSrcVideoBounds (gVideoChannel, &gActiveVideoRect);
|
||||
OSG_NOTICE << "SrcVideoBounds: " << gActiveVideoRect.right << " " << gActiveVideoRect.bottom << std::endl;
|
||||
|
@ -313,7 +313,6 @@ void QuicktimeLiveImageStream::createSequenceGrabberVideoChannel()
|
||||
|
||||
Fixed frame_rate;
|
||||
result = SGGetFrameRate (m_gVideoChannel, &frame_rate);
|
||||
int zx = 0;
|
||||
result = SGSetFrameRate (m_gVideoChannel, 100);
|
||||
//
|
||||
// Sound
|
||||
|
Loading…
Reference in New Issue
Block a user