Opened 8 years ago

Closed 7 years ago

#1334 closed task (fixed)

Refactor: SDL device

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

Description

Refactor the SDL device implementation, taking into account the (new) framework to post execution to main thread (#1331)

Change History (7)

comment:1 Changed 8 years ago by bennylp

  • Priority changed from normal to major

comment:2 Changed 8 years ago by ming

(In [3676]) Re #1334: Refactor SDL device

  • Separate Obj-C implementation for Mac OS X so that the code will be more organized and readable.
  • Add get native window capability via OUTPUT_WINDOW cap

comment:3 Changed 8 years ago by ming

(In [3689]) Re #1334: support for various thread models for SDL 1.3. There are three thread models implemented: running SDL on the main thread (by default it will be used on Mac/iOS), running SDL in ONE thread (by default it will be used on Linux), or running SDL in a single thread for each window (by default it will be used on Windows).

comment:4 Changed 8 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Done for now, to be continued in #1343

comment:5 Changed 8 years ago by bennylp

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening this, as SDL doesn't work on Mac with the main thread. Refactoring now..

comment:6 Changed 7 years ago by ming

(In [3718]) Re #1334:

  • Removed support for SDL 1.2
  • Add job queue inside SDL

comment:7 Changed 7 years ago by ming

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [3720]) Fixed #1334: Fix the problem of getting stuck when trying to quit SDL.

Note: See TracTickets for help on using tickets.