Changeset 3516
- Timestamp:
- Apr 10, 2011 11:54:07 PM (14 years ago)
- Location:
- pjproject/branches/projects/2.0-dev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjlib/include/pj/errno.h
r2992 r3516 469 469 * - PJNATH_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*4) 470 470 * - PJMEDIA_AUDIODEV_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*5) 471 * - PJ_SSL_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*6) 472 * - PJMEDIA_VIDEODEV_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*7) 471 473 */ 472 474 -
pjproject/branches/projects/2.0-dev/pjlib/src/pj/errno.c
r3255 r3516 34 34 PJ_END_DECL 35 35 36 #define PJLIB_MAX_ERR_MSG_HANDLER 8 36 #ifndef PJLIB_MAX_ERR_MSG_HANDLER 37 # define PJLIB_MAX_ERR_MSG_HANDLER 10 38 #endif 37 39 38 40 /* Error message handler. */ -
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia-videodev/errno.h
r3392 r3516 41 41 /** 42 42 * Start of error code relative to PJ_ERRNO_START_USER. 43 * This value is 470000.43 * This value is 520000. 44 44 */ 45 45 #define PJMEDIA_VIDEODEV_ERRNO_START \ 46 (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE* 6)46 (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*7) 47 47 #define PJMEDIA_VIDEODEV_ERRNO_END \ 48 48 (PJMEDIA_VIDEODEV_ERRNO_START + PJ_ERRNO_SPACE_SIZE - 1) … … 56 56 * General/unknown error. 57 57 */ 58 #define PJMEDIA_EVID_ERR (PJMEDIA_VIDEODEV_ERRNO_START+1) /* 470001 */58 #define PJMEDIA_EVID_ERR (PJMEDIA_VIDEODEV_ERRNO_START+1) /* 520001 */ 59 59 60 60 /** … … 62 62 * Unknown error from video driver 63 63 */ 64 #define PJMEDIA_EVID_SYSERR (PJMEDIA_VIDEODEV_ERRNO_START+2) /* 470002 */64 #define PJMEDIA_EVID_SYSERR (PJMEDIA_VIDEODEV_ERRNO_START+2) /* 520002 */ 65 65 66 66 /** … … 68 68 * Video subsystem not initialized 69 69 */ 70 #define PJMEDIA_EVID_INIT (PJMEDIA_VIDEODEV_ERRNO_START+3) /* 470003 */70 #define PJMEDIA_EVID_INIT (PJMEDIA_VIDEODEV_ERRNO_START+3) /* 520003 */ 71 71 72 72 /** … … 74 74 * Invalid video device 75 75 */ 76 #define PJMEDIA_EVID_INVDEV (PJMEDIA_VIDEODEV_ERRNO_START+4) /* 470004 */76 #define PJMEDIA_EVID_INVDEV (PJMEDIA_VIDEODEV_ERRNO_START+4) /* 520004 */ 77 77 78 78 /** … … 80 80 * Found no devices 81 81 */ 82 #define PJMEDIA_EVID_NODEV (PJMEDIA_VIDEODEV_ERRNO_START+5) /* 470005 */82 #define PJMEDIA_EVID_NODEV (PJMEDIA_VIDEODEV_ERRNO_START+5) /* 520005 */ 83 83 84 84 /** … … 86 86 * Unable to find default device 87 87 */ 88 #define PJMEDIA_EVID_NODEFDEV (PJMEDIA_VIDEODEV_ERRNO_START+6) /* 470006 */88 #define PJMEDIA_EVID_NODEFDEV (PJMEDIA_VIDEODEV_ERRNO_START+6) /* 520006 */ 89 89 90 90 /** … … 92 92 * Device not ready 93 93 */ 94 #define PJMEDIA_EVID_NOTREADY (PJMEDIA_VIDEODEV_ERRNO_START+7) /* 470007 */94 #define PJMEDIA_EVID_NOTREADY (PJMEDIA_VIDEODEV_ERRNO_START+7) /* 520007 */ 95 95 96 96 /** … … 98 98 * The video capability is invalid or not supported 99 99 */ 100 #define PJMEDIA_EVID_INVCAP (PJMEDIA_VIDEODEV_ERRNO_START+8) /* 470008 */100 #define PJMEDIA_EVID_INVCAP (PJMEDIA_VIDEODEV_ERRNO_START+8) /* 520008 */ 101 101 102 102 /** … … 104 104 * The operation is invalid or not supported 105 105 */ 106 #define PJMEDIA_EVID_INVOP (PJMEDIA_VIDEODEV_ERRNO_START+9) /* 470009 */106 #define PJMEDIA_EVID_INVOP (PJMEDIA_VIDEODEV_ERRNO_START+9) /* 520009 */ 107 107 108 108 /** … … 110 110 * Bad or invalid video device format 111 111 */ 112 #define PJMEDIA_EVID_BADFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+10) /* 4700010 */112 #define PJMEDIA_EVID_BADFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+10) /* 520010 */ 113 113 114 114 /** … … 116 116 * Invalid video device sample format 117 117 */ 118 #define PJMEDIA_EVID_SAMPFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+11) /* 4700011 */118 #define PJMEDIA_EVID_SAMPFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+11) /* 520011 */ 119 119 120 120 /** … … 122 122 * Bad latency setting 123 123 */ 124 #define PJMEDIA_EVID_BADLATENCY (PJMEDIA_VIDEODEV_ERRNO_START+12) /* 4700012 */124 #define PJMEDIA_EVID_BADLATENCY (PJMEDIA_VIDEODEV_ERRNO_START+12) /* 520012 */ 125 125 126 126 /** … … 128 128 * Bad/unsupported video size 129 129 */ 130 #define PJMEDIA_EVID_BADSIZE (PJMEDIA_VIDEODEV_ERRNO_START+13) /* 4700013 */130 #define PJMEDIA_EVID_BADSIZE (PJMEDIA_VIDEODEV_ERRNO_START+13) /* 520013 */ 131 131 132 132
Note: See TracChangeset
for help on using the changeset viewer.