avfvideosrc: don't explicitly empty the buffer queue

We're holding the only reference to it so there's no need to explicitly
empty it right before letting go of our reference.
This commit is contained in:
Ole André Vadla Ravnås 2010-11-04 17:58:36 +01:00
parent 89e5b60130
commit 8b22f855ec

View file

@ -337,7 +337,6 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
[bufQueueLock release];
bufQueueLock = nil;
[bufQueue removeAllObjects];
[bufQueue release];
bufQueue = nil;