Permalink
Browse files

Use ComponentNoError for Queue* calls.

This lets us get rid of the ones for FFusion too.
Didn't check what was calling it.


git-svn-id: https://svn.perian.org/trunk@1172 621663c8-3916-0410-8f58-edc14a8543d5
  • Loading branch information...
astrange
astrange committed Oct 23, 2009
1 parent dc8e0d8 commit d2dd47443840b164d339f3262e0e47a179dcc636
Showing with 6 additions and 47 deletions.
  1. +0 −41 FFusionCodec.c
  2. +2 −2 FFusionCodecDispatch.h
  3. +2 −2 TextSubCodecDispatch.h
  4. +2 −2 VobSubCodecDispatch.h
View
@@ -1270,47 +1270,6 @@ pascal ComponentResult FFusionCodecEndBand(FFusionGlobals glob, ImageSubCodecDec
return noErr;
}
// The below two functions are "optional" and don't do anything.
// But removing them just makes all movies display black screens.
//-----------------------------------------------------------------
// ImageCodecQueueStarting
//-----------------------------------------------------------------
// If your component supports asynchronous scheduled decompression,
// the base image decompressor calls your image decompressor
// component's ImageCodecQueueStarting function before decompressing
// the frames in the queue. Your component is not required to implement
// this function. It can implement the function if it needs to perform
// any tasks at this time, such as locking data structures.
// The base image decompressor never calls the ImageCodecQueueStarting
// function at interrupt time.
//-----------------------------------------------------------------
pascal ComponentResult FFusionCodecQueueStarting(FFusionGlobals glob)
{
return noErr;
}
//-----------------------------------------------------------------
// ImageCodecQueueStopping
//-----------------------------------------------------------------
// If your image decompressor component supports asynchronous scheduled
// decompression, the ImageCodecQueueStopping function notifies your
// component that the frames in the queue have been decompressed.
// Your component is not required to implement this function.
// After your image decompressor component handles an ImageCodecQueueStopping
// call, it can perform any tasks that are required when decompression
// of the frames is finished, such as disposing of data structures that
// are no longer needed.
// The base image decompressor never calls the ImageCodecQueueStopping
// function at interrupt time.
//-----------------------------------------------------------------
pascal ComponentResult FFusionCodecQueueStopping(FFusionGlobals glob)
{
return noErr;
}
// Gamma curve value for FFusion video.
ComponentResult FFusionCodecGetSourceDataGammaLevel(FFusionGlobals glob, Fixed *sourceDataGammaLevel)
{
View
@@ -97,8 +97,8 @@
ComponentCall (BeginBand)
ComponentCall (DrawBand)
ComponentCall (EndBand)
ComponentCall (QueueStarting)
ComponentCall (QueueStopping)
ComponentNoError (QueueStarting)
ComponentNoError (QueueStopping)
ComponentDelegate (DroppingFrame)
ComponentDelegate (ScheduleFrame)
ComponentDelegate (CancelTrigger)
View
@@ -111,8 +111,8 @@
ComponentCall (BeginBand)
ComponentCall (DrawBand)
ComponentCall (EndBand)
ComponentDelegate (QueueStarting)
ComponentDelegate (QueueStopping)
ComponentNoError (QueueStarting)
ComponentNoError (QueueStopping)
ComponentDelegate (DroppingFrame)
ComponentDelegate (ScheduleFrame)
ComponentDelegate (CancelTrigger)
View
@@ -112,8 +112,8 @@
ComponentCall (BeginBand)
ComponentCall (DrawBand)
ComponentCall (EndBand)
ComponentDelegate (QueueStarting)
ComponentDelegate (QueueStopping)
ComponentNoError (QueueStarting)
ComponentNoError (QueueStopping)
ComponentDelegate (DroppingFrame)
ComponentDelegate (ScheduleFrame)
ComponentDelegate (CancelTrigger)

0 comments on commit d2dd474

Please sign in to comment.