wm4 37c03f2c81 options: revert passing around talloc contexts
This reverts commit 48f0692ab9 "options: make option struct the talloc parent of options".

This made things actually more complicated. It introduced a new
parameter to the option parse and copy functions, which was used
inconsistently. Some code passed a parent, some not. Morever, you have
to call m_option_free() anyway, because not all options actually
respect the talloc parent. There is also the question whether passing
NULL as parent is supposed to work, or if you still have to implement
m_config_free().

On the other hand, this simplifies nothing. I assume the intention was
being able to free all option values with a single talloc_free() call,
but the same goal can be reached by simply freeing the m_config struct.
(The m_config talloc destructor will free each option values.)

Get rid of the talloc parent context parameter. This essentially
reverts commit 48f0692ab9 ("options: make option struct the talloc parent of options").

In video_out.c, make the VO priv struct the talloc parent for the
m_config object, so that destroying the VO will free the options.

The ability to free the m_config struct and all its managed options was
introduced in commit 89a17bcda6.
2012-08-04 19:59:56 +02:00
2012-08-03 01:49:35 +02:00
2012-08-03 00:12:46 +02:00
2012-08-03 02:18:29 +02:00
2012-08-03 01:00:55 +02:00
2012-07-31 01:35:53 +02:00
2012-08-02 22:05:27 +02:00
2012-08-01 17:07:35 +02:00
2012-02-01 22:46:27 +02:00
2012-08-03 03:34:38 +02:00
2012-08-03 01:43:03 +02:00
2010-03-09 19:18:43 +02:00
2011-04-02 07:28:53 +03:00
2012-08-01 17:07:35 +02:00
2012-08-03 02:05:23 +02:00
2012-07-31 01:35:53 +02:00
2012-07-31 01:35:53 +02:00
2012-07-29 00:04:17 +02:00
2012-07-30 15:46:05 +02:00
2012-08-02 23:22:52 +02:00
2012-03-09 20:48:54 +02:00
2012-08-01 17:07:35 +02:00
2012-08-01 17:07:35 +02:00
2012-07-29 00:04:17 +02:00

Compiling with full features requires development files for several
external libraries. Below is a list of some important requirements. For
more information see the output of './configure --help' for a list of options,
or look at the list of enabled and disabled features printed after running
'./configure'. If you think you have support for some feature installed
but configure fails to detect it, the file config.log may contain information
about the reasons for the failure.

Libraries specific to particular video output methods
(you'll want at least one of VDPAU, GL or Xv):
 - libvdpau (for VDPAU output, best choice for NVIDIA cards)
 - libGL (OpenGL output)
 - libXv (XVideo output)
general:
 - libasound   (ALSA audio output)
 - various general X development libraries
 - libfreetype (for libass)
 - libfontconfig (for libass)
 - libass
 - FFmpeg libraries (libavutil libavcodec libavformat libswscale libpostproc)

Most of the above libraries are available in suitable versions on normal
Linux distributions. However FFmpeg is an exception (distro versions may be
too old to work at all or work well). For that reason you may want to use
the separately available build wrapper that first compiles FFmpeg libraries
and libass, and then compiles the player statically linked against those.
S
Description
🎥 Command line media player
Readme
184 MiB
Languages
C 88%
Lua 5.8%
Swift 2.3%
Meson 1.1%
Python 0.8%
Other 2%