~mpv-team/mpv/master

Viewing all changes in revision 40528.

  • Committer: Kevin Mitchell
  • Author(s): wm4
  • Date: 2018-03-15 07:00:04 UTC
  • Revision ID: git-v1:410a1b49edfbbf7d528fd7dd06b73d06e2f9fce4
client API: cleanup mpv_handle termination

This changes how mpv_terminate_destroy() and mpv_detach_destroy()
behave. The doxygen in client.h tries to point out the differences. The
goal is to make this more useful to the API user (making it behave like
refcounting).

This will be refined in follow up commits.

Initialization is unfortunately closely tied to termination, so that
changes as well. This also removes earlier hacks that make sure that
some parts of FFmpeg initialization are run in the playback thread
(instead of the user's thread). This does not matter with standard
FFmpeg, and I have no reason to care about this anymore.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: