mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Video avatar fixes
This commit is contained in:
@@ -373,8 +373,10 @@ const NSInteger TGVideoCameraRetainedBufferCount = 16;
|
||||
{
|
||||
if (self.outputVideoFormatDescription == NULL)
|
||||
[self setupVideoPipelineWithInputFormatDescription:formatDescription];
|
||||
else
|
||||
[self renderVideoSampleBuffer:sampleBuffer];
|
||||
else {
|
||||
[_recorder appendVideoSampleBuffer:sampleBuffer];
|
||||
// [self renderVideoSampleBuffer:sampleBuffer];
|
||||
}
|
||||
}
|
||||
else if (connection == _audioConnection)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user