Opened 9 years ago

Closed 8 years ago

#1282 closed defect (fixed)

Change "*fmt" in pjmedia_vid_dev_info to array

Reported by: bennylp Owned by: ming
Priority: minor Milestone: release-2.0-alpha
Component: pjmedia Version: 2.0-dev-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by ming)

  • fmt* is bad for pjmedia_vid_dev_get_info(), because user then may modify the pointer.
  • Change pjmedia_vid_cb and pjmedia_vid_param to pjmedia_vid_dev_cb and pjmedia_vid_dev_param for consistency

Change History (8)

comment:1 Changed 8 years ago by bennylp

  • Owner changed from nanang to ming
  • Status changed from new to assigned

comment:2 Changed 8 years ago by bennylp

  • Priority changed from normal to minor

comment:3 Changed 8 years ago by ming

(In [3658]) Re #1282:

  • Change *fmt in pjmedia_vid_dev_info to array
  • Change pjmedia_vid_cb/param to pjmedia_vid_dev_*

comment:4 Changed 8 years ago by ming

  • Description modified (diff)
  • Summary changed from The "*fmt" in pjmedia_vid_dev_info is bad for pjmedia_vid_dev_get_info(), because user then may modify modify the pointer to Change "*fmt" in pjmedia_vid_dev_info to array

comment:5 Changed 8 years ago by ming

  • Description modified (diff)

comment:6 Changed 8 years ago by ming

  • Description modified (diff)

comment:7 Changed 8 years ago by ming

(In [3660]) Re #1282: change for Mac and iOS

comment:8 Changed 8 years ago by ming

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.