Skip to content

Commit

Permalink
return error if sample count is zero
Browse files Browse the repository at this point in the history
  • Loading branch information
cpluser09 committed Aug 21, 2018
1 parent 2417861 commit a8e8fc1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ios/include/qcPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ typedef struct
// The parameter should be char *.
#define QCPLAY_PID_FILE_KeyText QC_PLAY_BASE + 0X0302

// Set the comp key
// The parameter should be char *.
#define QCPLAY_PID_COMP_KeyText QC_PLAY_BASE + 0X0303

// Set to capture video image
// The parameter should be long long * (ms). capture time. 0 is immediatily.
// This should be called after open done event.
Expand Down
Binary file modified ios/lib/libqcPlayEng.a
Binary file not shown.
1 change: 0 additions & 1 deletion ios/sample/TestCode/ViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ -(void)prepareURL
_currURL = 0;
_clipboardURL = nil;

[_urlList addObject:@"https://v4.cdn.xiangha.com/video/201808/14145b727c10e02e8/eGg0ODBw.m3u8?v=1.1&sign=f793c7b5b10ef21f1a66cdf768d02ed0&t=5b7518af"];
[_urlList addObject:@"-------------------------------------------------------------------------------"];
[_urlList addObject:@"MP4"];
[_urlList addObject:@"http://op053v693.bkt.clouddn.com/IMG_3376.MP4"];
Expand Down
2 changes: 1 addition & 1 deletion ios/sample/TestCode/export.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>compileBitcode</key>
<true/>
<false/>
<key>uploadSymbols</key>
<false/>
</dict>
Expand Down

0 comments on commit a8e8fc1

Please sign in to comment.