1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-08 11:26:59 +02:00
Commit Graph

149 Commits

Author SHA1 Message Date
Hugo Beauzée-Luyssen
f74f2334bb libvlc: Remove duplicated forward declaration 2014-10-24 17:11:47 +02:00
Rémi Denis-Courmont
32486e651c variables: remove VLC_VAR_GETLIST (same as VLC_VAR_GETCHOICES) 2014-10-23 22:11:49 +03:00
Rémi Denis-Courmont
8cffc346ab lib: use "zoom" rather than "scale" (like interfaces) 2014-10-23 21:06:26 +03:00
Jean-Baptiste Kempf
417b6eb0f0 Win32: prefer the static libraries when creating the dlls
This should avoid the issues of packaging libgcc_s_sjlj-1.dll,
libwinpthread-1.dll and the like.
2014-10-13 09:16:24 +02:00
KO Myung-Hun
863f851833 Add -avoid-version to LDFLAGS of vlc and vlccore on OS/2
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-10-12 20:17:15 +03:00
Rémi Denis-Courmont
86796e2a57 lib: disable decoding hardware acceleration with vmem
This ensures that subpictures blending works, and avoids copying back
video frames from GPU to CPU. For proper hardware acceleration,
use libvlc_media_player_set_xwindow() instead.
2014-10-11 14:41:13 +03:00
Igor Prokopenkov
fd4a0ba834 lib: Fire libvlc_MediaListPlayerPlayed at end of playlist
The "libvlc_MediaListPlayerPlayed" event was defined but unused.
It is now fired when libvlc_media_list_player is played until last item in the playlist

Signed-off-by: Igor Prokopenkov <cmyk777@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-10-06 10:55:22 +02:00
Rémi Denis-Courmont
3674097b8f lib: unused variable 2014-09-21 11:39:53 +03:00
Rémi Denis-Courmont
6226ab4687 lib: fix shadowing and wrong variable type
asprintf() returns an int, not a char *.
2014-09-21 11:39:53 +03:00
Rémi Denis-Courmont
805cffa8d1 log: fix theoretical pointer alignment problem 2014-08-20 21:02:45 +03:00
Rémi Denis-Courmont
94ca70d4d3 adjust: convert hue from [0..360] integer to [-180..+180] float 2014-08-19 21:55:59 +03:00
Rémi Denis-Courmont
30838535ef lib: allow setting float variables as integers
Just convert to/from float on the fly. That enables backward compatibility
for setting/getting adjust hue as an interger (next commit).
2014-08-19 21:45:17 +03:00
Rémi Denis-Courmont
6e3efa2376 Copy libtool library versions from 2.2.0 2014-08-17 10:32:19 +03:00
Rémi Denis-Courmont
1e68f58eb1 media_player: do not wait for input to stop when pausing (fixes #11767)
This lead to a deadlock when attempting to pause an input that did not
support pausing.
2014-08-15 21:47:44 +03:00
Felix Abecassis
710ad7ed78 libvlc: add 3 libvlc events: MediaPlayerESAdded, MediaPlayerESDeleted, MediaPlayerESSelected 2014-08-04 12:09:36 +02:00
Felix Abecassis
4a170b9ad3 libvlc: add error checking after calling var_Change
Previously, if var_Change failed (e.g. with VLC_ENOVAR), an
uninitialized value was returned.
2014-07-07 12:53:49 +02:00
Adrien Maglo
f987413453 lib: fix typos in libvlc_media_player_set_equalizer
This commit repairs the libvlc equalizer API.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-06-18 19:37:39 +03:00
Rémi Denis-Courmont
b9b9d7fe3e lib: fix object reference leak, fix test suite 2014-06-08 20:04:08 +03:00
Mark Lee
c6b8b1b502 lib: use explicit array initialisation syntax for position table
Also use unsigned char rather than int as the type

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-05-24 20:37:37 +08:00
Mark Lee
dadda22941 lib: map the position enum to the correct subpicture alignment bitmasks
libvlc_media_player_set_video_title_display() was wrongly using the
enum value directly, leading to the video title appearing in the wrong
position for some values

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-05-24 18:25:17 +08:00
Rémi Denis-Courmont
0e63a3fc83 lib: enable/disable the equalizer as needed, simplify 2014-05-24 12:55:30 +08:00
Rémi Denis-Courmont
bccf8c0018 lib: fix logic inversion 2014-05-20 19:10:22 +08:00
Rémi Denis-Courmont
6e96d8a915 lib: check scale range in libvlc_video_set_scale() 2014-05-20 19:10:22 +08:00
Rémi Denis-Courmont
f350b09dde lib: do not convert to double in libvlc_video_set_scale() 2014-05-20 19:10:22 +08:00
Rémi Denis-Courmont
2e77318cdd lib: return NAN on libvlc_audio_equalizer_set_amp_at_index() error 2014-05-20 19:10:21 +08:00
Rémi Denis-Courmont
2e8d457afe lib: fix (pre)amplification range checks for equalizer 2014-05-20 19:10:21 +08:00
Rémi Denis-Courmont
589f091f58 lib: fix volume range check in libvlc_audio_set_volume() 2014-05-20 19:10:21 +08:00
Francois Cartegnie
41af9ab209 update meta request API to allow overriding 2014-05-19 12:02:41 +02:00
Rémi Denis-Courmont
e957152215 audio: support for enumerating devices of current aoout (fixes #10720) 2014-05-15 21:10:57 +08:00
Rémi Denis-Courmont
b90f1b9051 audio: support setting device of current audio output (refs #10720) 2014-05-15 21:10:57 +08:00
Jean-Paul Saman
93900cd71a libvlc: refactor sfilter enabling/disabling
Refactor sfilter enabling and disabling. One glitch stays present:
A user needs to call libvlc_{logo,marq,adjust}_int{ p_mi, libvlc_{logo,marq,adjust}_Enable, twice initially. Once before setting options to get module to load and second after setting options. After this Enabling/Disabling works as expected.
NOTE: when changing an option one MUST call
libvlc_{logo,marq,adjust}_int{ p_mi, libvlc_{logo,marq,adjust}_Enable, again.

The patch removes the dependency on the deprecated function vlc_object_find_name()
2014-05-11 11:35:25 +02:00
Felix Abecassis
2ddd0f3eb3 lib: remove unused variable 2014-05-06 19:04:11 +02:00
Rémi Denis-Courmont
8c9e80fb1f lib: avoid NULL deref on error 2014-04-23 19:41:54 +03:00
Sergey Radionov
ae904d8344 fixed threading issue in libvlc_media_player_get_media
and some cosmetics

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-04-06 15:22:51 +03:00
Ronald Wright
1ec45d909a libvlc: equalizer: Use ISO bands instead of VLC bands
This eliminates the inconsistency between the equalizer bands that are
portrayed by the API and the bands that are actually used by the equalizer
module.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-03-19 18:53:21 +02:00
Rémi Denis-Courmont
ff42916045 lib: reset the audio output when selecting amem or custom plugin 2014-03-10 19:19:04 +02:00
Rémi Denis-Courmont
6ae117da3f libvlc: fix potentially leaked error message 2014-02-27 20:33:31 +02:00
Jerome Forissier
99fffd130a libvlc_internal.h: delete unused function prototypes
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-02-27 20:20:26 +02:00
Jerome Forissier
c88cf59b9d libvlc: fix possible free() of static const char[]
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-02-27 18:34:20 +02:00
Mark Lee
5c0a6cabc3 lib: allow media player volume to be set before playing media
This is based on similar initialisation as is already done in the
playlist_Create() function.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-02-26 19:02:33 +02:00
Rémi Denis-Courmont
345afa864d libvlc_media_new_path: set more meaningful error message (fixes #10792) 2014-02-26 18:24:52 +02:00
Mark Lee
8db74e209c lib: expose new meta data attributes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-02-08 16:11:13 +01:00
Mark Lee
0dffa31ec5 lib: add missing define for scrambled-changed event
This is needed for libvlc_event_type_name().

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-02-08 12:22:05 +02:00
Julian Scheel
8b9e6d1672 libvlc: libvlc_ScrambledChanged event type added
Expose an event to libvlc users which allows them to get notified about the
current program scrambling status.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-02-07 23:15:17 +02:00
Rémi Denis-Courmont
c39376d370 lib: add helper for playlist startup
Also remove a useless and unsynchronized test.
2014-01-08 00:07:50 +02:00
Rémi Denis-Courmont
93e4bf1258 lib: remove unneeded code 2014-01-08 00:07:50 +02:00
Rémi Denis-Courmont
df07ba0d22 lib: remove playlist dependency on media parsing (fixes #5460) 2013-12-31 20:31:52 +02:00
Maxim Bublis
4b726052a3 Fixed unused variable and parameter warnings.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-12-01 19:19:14 +01:00
Rémi Denis-Courmont
0ab58d82d4 libvlc: update SOVERSION post-2.0.6 2013-09-19 20:06:41 +03:00
Rémi Denis-Courmont
527714d44d lib: work around automake subdirectory limitation (fixes #9367) 2013-09-16 18:54:36 +03:00