Changeset 6138 for pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
- Timestamp:
- Jan 28, 2020 2:42:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
r6125 r6138 926 926 stream->last_ts.u64 = frame->timestamp.u64; 927 927 928 /* Video conference just trying to send heart beat for updating timestamp 929 * or keep-alive, this port doesn't need any, just ignore. 930 */ 931 if (frame->size==0 || frame->buf==NULL) 932 return PJ_SUCCESS; 933 934 if (frame->size < stream->vafp.framebytes) 935 return PJ_ETOOSMALL; 936 928 937 if (!stream->is_running) 929 938 return PJ_EINVALIDOP; 930 931 if (frame->size==0 || frame->buf==NULL ||932 frame->size < stream->vafp.framebytes)933 return PJ_SUCCESS;934 939 935 940 stream->frame = frame;
Note: See TracChangeset
for help on using the changeset viewer.