Ticket #468 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

Support for non-looping playback in memory player

Reported by: nanang Owned by: nanang
Priority: trivial Milestone: release-0.9.0
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description


Attachments

mem_player.patch (2.5 KB) - added by nanang 10 years ago.
ticket468.patch (2.7 KB) - added by nanang 10 years ago.

Change History

Changed 10 years ago by nanang

comment:1 Changed 10 years ago by nanang

  • Status changed from new to assigned

Attachment mem_player.patch: added PJMEDIA_MEM_NO_LOOP option for memory player.

comment:2 Changed 10 years ago by bennylp

  • Priority changed from normal to minor

comment:3 Changed 10 years ago by bennylp

  • Priority changed from minor to trivial

Changed 10 years ago by nanang

comment:4 Changed 10 years ago by nanang

attachement ticket468.patch:

  • added PJMEDIA_MEM_NO_LOOP option for memory player.
  • changed behaviour on EOF:
    • if PJMEDIA_MEM_NO_LOOP defined, pad the frame with zeroes, next call to get_frame() will raise eof callback and return null frame & PJ_EEOF.
    • otherwise, smooth loop (no zero padding), next call to get_frame() will raise eof callback and return normal frame.

comment:5 Changed 10 years ago by bennylp

  • Summary changed from Memory player port supports 'no loop' option to Support for non-looping playback in memory player

Committed in r1808, thanks.

comment:6 Changed 10 years ago by bennylp

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