Changeset 6124 for pjproject


Ignore:
Timestamp:
Dec 23, 2019 7:11:50 AM (5 years ago)
Author:
ming
Message:

Re #2210 (misc): Fixed incorrect error printing in Darwin dev when there's a runtime session error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/darwin_dev.m

    r6109 r6124  
    533533    NSError *error = notification.userInfo[AVCaptureSessionErrorKey]; 
    534534    PJ_LOG(3, (THIS_FILE, "Capture session runtime error: %s, %s", 
    535                [error localizedDescription], 
    536                [error localizedFailureReason])); 
     535               [error.localizedDescription UTF8String], 
     536               [error.localizedFailureReason UTF8String])); 
    537537} 
    538538 
Note: See TracChangeset for help on using the changeset viewer.