]> git.sesse.net Git - vlc/log
vlc
15 years agoRemove a whole bunch of non-sensical vlc_object_hold()
Rémi Denis-Courmont [Mon, 16 Mar 2009 18:37:34 +0000 (20:37 +0200)]
Remove a whole bunch of non-sensical vlc_object_hold()

In one case (noted by Erwan Tulou), this also fixes a large leak.

There is _absolutely_ no point in holding an object and releasing it
immediately. Holding an object only makes sense if:
 - the object cannot vanish while calling vlc_object_hold(), and
 - either:
   - the object could have otherwise vanished before
     vlc_object_release(), or
   - there is no way to avoid the (otherwise not needed)
     vlc_object_hold() because it comes from another component.

Conversely, it makes no sense to hold an object, if:
 - it could vanish already while calling hold (race condition)
   -> this is *invalid* and might crash,
 - there is already a valid reference to the object throughout.

I don't know in which case that code was, but the popup menu definitely
does invalid object access in some cases. For instance:
 - start playing a single video,
 - seek to a few seconds before the end,
 - open the popup menu, go to video / deinterlace,
 - wait for the video to finish and the playlist to stop,
 - click on "X" from the deinterlace submenu.
Oops.

15 years agoUnused variable
Rémi Denis-Courmont [Mon, 16 Mar 2009 16:29:36 +0000 (18:29 +0200)]
Unused variable

15 years agoEnable tcp keep alive in http
Sébastien Escudier [Mon, 16 Mar 2009 13:33:50 +0000 (14:33 +0100)]
Enable tcp keep alive in http

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agox11: remove unused variables in Control.
Jean-Paul Saman [Mon, 16 Mar 2009 09:59:04 +0000 (10:59 +0100)]
x11: remove unused variables in Control.

15 years agomozilla: remove npunix_old.c and npwin_old.cpp
Jean-Paul Saman [Mon, 16 Mar 2009 09:55:42 +0000 (10:55 +0100)]
mozilla: remove npunix_old.c and npwin_old.cpp

15 years agomozilla: rewrite and license npunix.c/npwin.cpp under LGPLv2.1 (or later)
Jean-Paul Saman [Fri, 13 Mar 2009 15:13:04 +0000 (16:13 +0100)]
mozilla: rewrite and license npunix.c/npwin.cpp under LGPLv2.1 (or later)

15 years agomozilla: Resolve files with conflicting licensing terms
Jean-Paul Saman [Fri, 13 Mar 2009 11:47:52 +0000 (12:47 +0100)]
mozilla: Resolve files with conflicting licensing terms

Renamed:
 npunix.c to npunix_old.c
 npwin.cpp to npwin_old.cpp

Added new files from mozilla source code
 npunix.c
 npwin.cpp

15 years agomacosx: fix function prototype of manage_cleanup (argument for pthread_cleanup_push).
Jean-Paul Saman [Mon, 16 Mar 2009 11:05:47 +0000 (12:05 +0100)]
macosx: fix function prototype of manage_cleanup (argument for pthread_cleanup_push).

15 years agomacosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqu...
Jean-Paul Saman [Mon, 16 Mar 2009 10:06:57 +0000 (11:06 +0100)]
macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqueue with pl_Locked.

updatePanelWithItem is called from modules/gui/macosx/intf.m line 1565 with playlist lock held.
If this solution is wrong then revert and fix properly.

15 years agomacosx: cleanup
Jean-Paul Saman [Tue, 10 Mar 2009 09:51:36 +0000 (10:51 +0100)]
macosx: cleanup

15 years agoremove dead links.
Rémi Duraffort [Mon, 16 Mar 2009 10:31:10 +0000 (11:31 +0100)]
remove dead links.

15 years agoupdate: fix objects leak.
Rémi Duraffort [Mon, 16 Mar 2009 09:52:54 +0000 (10:52 +0100)]
update: fix objects leak.

15 years agoqt4: cleaning the singletons implementation.
Rémi Duraffort [Sun, 15 Mar 2009 21:57:48 +0000 (22:57 +0100)]
qt4: cleaning the singletons implementation.

15 years agoActually, the patch corrects three problems (2 pertaining to qt4 as a
brezhoneg1 [Mon, 16 Mar 2009 00:15:37 +0000 (01:15 +0100)]
Actually, the patch corrects three problems (2 pertaining to qt4 as a
dialog provider for skins and 1 as the regular qt4). The problems for
skins are real (lead to crashes when using menus). The one for regular
qt4 was obviously a typo, but sometimes even removing a typo may have
side effects. If so, please find attached a patch that reverts this part
of the previous patch.

Erwan10

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
15 years agoQt: Provide a clean way to not transcode in Sout dialog.
Jean-Baptiste Kempf [Mon, 16 Mar 2009 00:10:55 +0000 (01:10 +0100)]
Qt: Provide a clean way to not transcode in Sout dialog.

15 years agoSkins2: less stupid match for opening the files.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 23:34:45 +0000 (00:34 +0100)]
Skins2: less stupid match for opening the files.

15 years agoqt4_playlist: less includes.
Rémi Duraffort [Sun, 15 Mar 2009 20:20:16 +0000 (21:20 +0100)]
qt4_playlist: less includes.

15 years agoqt4: remove totology.
Rémi Duraffort [Sun, 15 Mar 2009 20:03:25 +0000 (21:03 +0100)]
qt4: remove totology.

15 years agoFix popupSave/Stream deadlock
Fabio Ritrovato [Fri, 13 Mar 2009 22:13:46 +0000 (23:13 +0100)]
Fix popupSave/Stream deadlock

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
15 years agoqt4: fix memleak.
Rémi Duraffort [Sun, 15 Mar 2009 17:59:01 +0000 (18:59 +0100)]
qt4: fix memleak.

15 years agoqt4-correct several problems related to p_input (main input manager class)
Erwan Tulou [Fri, 13 Mar 2009 19:10:18 +0000 (20:10 +0100)]
qt4-correct several problems related to p_input (main input manager class)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agoCosmetics
Rémi Denis-Courmont [Sun, 15 Mar 2009 18:58:22 +0000 (20:58 +0200)]
Cosmetics

15 years agoX11: make sure base window is really destroyed...
Erwan Tulou [Fri, 13 Mar 2009 19:43:54 +0000 (20:43 +0100)]
X11: make sure base window is really destroyed...

...before calling release function of the window provider
(only way to prevent possible BadWindow xlib error)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agodvdnav: don't probe stdin (this just removes a silly error message)
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:45:06 +0000 (19:45 +0200)]
dvdnav: don't probe stdin (this just removes a silly error message)

15 years agoQt: QString::number is more maintainable than QString("%1").arg syntax
Jean-Baptiste Kempf [Sun, 15 Mar 2009 17:20:30 +0000 (18:20 +0100)]
Qt: QString::number is more maintainable than QString("%1").arg syntax

15 years agoQt: correctly split options and escape ':' so if your dshow devices or your subtitle...
Jean-Baptiste Kempf [Sun, 15 Mar 2009 16:57:37 +0000 (17:57 +0100)]
Qt: correctly split options and escape ':' so if your dshow devices or your subtitle contains a " :" in the name, it is correctly opened.

15 years agostats leaks
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:21:06 +0000 (19:21 +0200)]
stats leaks

15 years agoMemory leak
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:13:23 +0000 (19:13 +0200)]
Memory leak

15 years agoAllow libxml 2.7. Leak memory.
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:04:54 +0000 (19:04 +0200)]
Allow libxml 2.7. Leak memory.

15 years agoRequire libxml2 < 2.7
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:06:37 +0000 (18:06 +0200)]
Require libxml2 < 2.7

Thread initialization has changed in 2.7, such that VLC and Qt4 cannot
both use libxml2. While this maximum version requirement is bound to
frustrate Linux/BSD users, we cannot fix this within VLC. Falling back
to xtag is not quite as bad as crashing.

15 years agoconfigure: use pkg-config for GNOME-XML
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:01:41 +0000 (18:01 +0200)]
configure: use pkg-config for GNOME-XML

We need libxml version 2.5 for text reader.
pkg-config is present since version 2.3 at least (over 8 years ago).

15 years agoconfigure: trivial factorization
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:01:19 +0000 (18:01 +0200)]
configure: trivial factorization

15 years agoQt: remove Preferences singleton. Simplify and Close #2552 and #2551
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:41:19 +0000 (03:41 +0100)]
Qt: remove Preferences singleton. Simplify and Close #2552 and #2551

15 years agoQt menu, "Open Location from Clipboard."
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:27:29 +0000 (03:27 +0100)]
Qt menu, "Open Location from Clipboard."

15 years agoQt: provide a way to dump from the convert dialog.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:07:14 +0000 (03:07 +0100)]
Qt: provide a way to dump from the convert dialog.

15 years agoQt: String change for 'Track Synchronization'
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:52:02 +0000 (02:52 +0100)]
Qt: String change for 'Track Synchronization'

15 years agoQt: move Sout Dialog out of singleton.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:47:21 +0000 (02:47 +0100)]
Qt: move Sout Dialog out of singleton.

15 years agoQt: Sout strings modification.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:38:03 +0000 (02:38 +0100)]
Qt: Sout strings modification.

15 years agoQt: various string fixes and consistencies in the ui
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:19:34 +0000 (02:19 +0100)]
Qt: various string fixes and consistencies in the ui

15 years agoQt: don't use "Open a Media"
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:12:51 +0000 (02:12 +0100)]
Qt: don't use "Open a Media"

15 years agoQt: split correctly the input options for Convertion and Sout Dialogs.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:03:10 +0000 (02:03 +0100)]
Qt: split correctly the input options for Convertion and Sout Dialogs.

15 years agoQt: includes barrier fix.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:00:54 +0000 (02:00 +0100)]
Qt: includes barrier fix.

15 years agoQt: qt4.cpp cosmetics.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 19:40:38 +0000 (20:40 +0100)]
Qt: qt4.cpp cosmetics.

15 years agoAdaptive PCM: set the output category (fixes assertion)
Rémi Denis-Courmont [Sat, 14 Mar 2009 20:29:17 +0000 (22:29 +0200)]
Adaptive PCM: set the output category (fixes assertion)

15 years agoImproved preroll in avcodec.
Laurent Aimar [Sat, 14 Mar 2009 19:43:15 +0000 (20:43 +0100)]
Improved preroll in avcodec.

Do not decode non reference pictures while prerolling.
It improves seek performance when decoding with ffmpeg.

15 years agoPrevent a segfault with Xv video output and too bug image.
Laurent Aimar [Sat, 14 Mar 2009 18:44:33 +0000 (19:44 +0100)]
Prevent a segfault with Xv video output and too bug image.

It should fix/workaround https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/324911
but I am not sure if it is the right way.

15 years agoQt: match the access changes for cdda-track specification (commit 55e3dca3b7164bfb8ae...
Jean-Baptiste Kempf [Sat, 14 Mar 2009 16:40:49 +0000 (17:40 +0100)]
Qt: match the access changes for cdda-track specification (commit 55e3dca3b7164bfb8aeafc21b9e9ea6258cf4bf9 by fenrir )

15 years agoQt: try to debug and solve the dshow-vdev issue.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 16:12:19 +0000 (17:12 +0100)]
Qt: try to debug and solve the dshow-vdev issue.

15 years agoQt: Cosmetics and msg_Dbg.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:51:30 +0000 (16:51 +0100)]
Qt: Cosmetics and msg_Dbg.

15 years agoQt: correctly handle cancelling of sout/convert dialogs. Update copyrights.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:48:58 +0000 (16:48 +0100)]
Qt: correctly handle cancelling of sout/convert dialogs. Update copyrights.

15 years agoQt: remove all the """ present in the Sout mRL.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:39:20 +0000 (16:39 +0100)]
Qt: remove all the """ present in the Sout mRL.

15 years agoQt: Profiles, define codec=none when no transcoding is wanted by the user.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:36:23 +0000 (16:36 +0100)]
Qt: Profiles, define codec=none when no transcoding is wanted by the user.

15 years agoQt: profiles, make difference between:
Jean-Baptiste Kempf [Sat, 14 Mar 2009 14:49:51 +0000 (15:49 +0100)]
Qt: profiles, make difference between:

- Trash Audio
- Keep original Audio

15 years agoQt: use LineEdits for width and height and state that you can have one of them empty.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 14:16:57 +0000 (15:16 +0100)]
Qt: use LineEdits for width and height and state that you can have one of them empty.

15 years agoQt: Sout Profiles: be sure to set a mux.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:42:52 +0000 (14:42 +0100)]
Qt: Sout Profiles: be sure to set a mux.

15 years agoQt: fix sample rate selection in the Sout profile.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:40:02 +0000 (14:40 +0100)]
Qt: fix sample rate selection in the Sout profile.

15 years agoQt4.3 compatibility.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:22:01 +0000 (14:22 +0100)]
Qt4.3 compatibility.

15 years agoQt: Minimal change in SPrefs for alignment.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:19:35 +0000 (14:19 +0100)]
Qt: Minimal change in SPrefs for alignment.

15 years agoCorrectly set GSM fourcc
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:13:49 +0000 (14:13 +0100)]
Correctly set GSM fourcc

15 years agoRemove unneeded string.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:13:34 +0000 (14:13 +0100)]
Remove unneeded string.

15 years agoAdded missing lock for INPUT_EVENT_ABORT check (input).
Laurent Aimar [Thu, 12 Mar 2009 23:29:19 +0000 (00:29 +0100)]
Added missing lock for INPUT_EVENT_ABORT check (input).

15 years agoReworked and improved TS ES with stream_type equals to 0x06.
Laurent Aimar [Thu, 12 Mar 2009 21:50:26 +0000 (22:50 +0100)]
Reworked and improved TS ES with stream_type equals to 0x06.

15 years agoCosmetics (ts).
Laurent Aimar [Thu, 12 Mar 2009 19:30:46 +0000 (20:30 +0100)]
Cosmetics (ts).

15 years agoSend INPUT_EVENT_ABORT from input thread instead of input_StopThread.
Laurent Aimar [Thu, 12 Mar 2009 19:13:29 +0000 (20:13 +0100)]
Send INPUT_EVENT_ABORT from input thread instead of input_StopThread.

It is cleaner to not send event from caller threadand will fix a deadlock in the
playlist code.

15 years agomacosx intf: switch a vlc_object_find to input_GetAout
Derk-Jan Hartman [Thu, 12 Mar 2009 15:47:25 +0000 (16:47 +0100)]
macosx intf: switch a vlc_object_find to input_GetAout

15 years agomacosx intf: aout leaks
Derk-Jan Hartman [Thu, 12 Mar 2009 15:46:57 +0000 (16:46 +0100)]
macosx intf: aout leaks

15 years agoavformat: lock avcodec
Rémi Denis-Courmont [Thu, 12 Mar 2009 15:41:02 +0000 (17:41 +0200)]
avformat: lock avcodec

This is ugly but we can do jack about this (short of forking ffmpeg).

15 years agoavcodec, switcher: use the global avcodec lock
Rémi Denis-Courmont [Thu, 12 Mar 2009 15:34:36 +0000 (17:34 +0200)]
avcodec, switcher: use the global avcodec lock

15 years agoAdd a centralized avcodec lock
Rémi Denis-Courmont [Thu, 12 Mar 2009 15:27:37 +0000 (17:27 +0200)]
Add a centralized avcodec lock

avcodec is used from at least three different plugins: avcodec,
switcher (which seems dead though) and indirectly in avformat. We need
to have a common interlock for all of these.

15 years agoqt_vlm: add some const for the QString.
Rémi Duraffort [Thu, 12 Mar 2009 14:45:38 +0000 (15:45 +0100)]
qt_vlm: add some const for the QString.

15 years agolibavutil callback cannot assume it has a VLC object
Rémi Denis-Courmont [Thu, 12 Mar 2009 14:49:37 +0000 (16:49 +0200)]
libavutil callback cannot assume it has a VLC object

This fixes a crash from the avformat (de)mux.

15 years agoskins2: operator '=' return a reference.
Rémi Duraffort [Wed, 11 Mar 2009 19:11:40 +0000 (20:11 +0100)]
skins2: operator '=' return a reference.

15 years agoskins2: remove unused function.
Rémi Duraffort [Wed, 11 Mar 2009 18:48:29 +0000 (19:48 +0100)]
skins2: remove unused function.

15 years agovcdx: use ifdef instead of if.
Rémi Duraffort [Wed, 11 Mar 2009 18:01:51 +0000 (19:01 +0100)]
vcdx: use ifdef instead of if.

15 years agoqt4_sout: use references for const QString.
Rémi Duraffort [Wed, 11 Mar 2009 15:31:26 +0000 (16:31 +0100)]
qt4_sout: use references for const QString.

15 years agobda: fix potential uninitialized value.
Rémi Duraffort [Wed, 11 Mar 2009 13:04:43 +0000 (14:04 +0100)]
bda: fix potential uninitialized value.

15 years agozipstream: fix potential memleak.
Rémi Duraffort [Tue, 10 Mar 2009 13:59:55 +0000 (14:59 +0100)]
zipstream: fix potential memleak.

15 years agounused variables.
Rémi Duraffort [Mon, 9 Mar 2009 09:52:21 +0000 (10:52 +0100)]
unused variables.

15 years agox264: obsolete pre-scenecut option.
Jean-Baptiste Kempf [Wed, 11 Mar 2009 23:47:13 +0000 (00:47 +0100)]
x264: obsolete pre-scenecut option.

15 years agos/(void)p_e;/VLC_UNUSED(p_e);/
JP Dinger [Fri, 6 Mar 2009 12:22:27 +0000 (13:22 +0100)]
s/(void)p_e;/VLC_UNUSED(p_e);/

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoMissing use of options in test.html added playlist items.
Vicente Jimenez Aguilar [Tue, 10 Mar 2009 16:53:00 +0000 (17:53 +0100)]
Missing use of options in test.html added playlist items.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agox264 Removed pre-scenecut definitions for build 67
Sabourin Gilles [Wed, 11 Mar 2009 23:05:53 +0000 (00:05 +0100)]
x264 Removed pre-scenecut definitions for build 67

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoFixed some DVD menus.
Laurent Aimar [Wed, 11 Mar 2009 22:35:14 +0000 (23:35 +0100)]
Fixed some DVD menus.

15 years agoExport ES_OUT_GET_EMPTY which is needed for interactive video.
Laurent Aimar [Wed, 11 Mar 2009 22:20:26 +0000 (23:20 +0100)]
Export ES_OUT_GET_EMPTY which is needed for interactive video.

15 years agoFixed DecoderUpdatePreroll.
Laurent Aimar [Tue, 10 Mar 2009 21:56:41 +0000 (22:56 +0100)]
Fixed DecoderUpdatePreroll.

It makes prerolling less precise but it will avoid loosing valid
frame.

15 years agoAlmost wait-free snapshot handling in the vout thread
Rémi Denis-Courmont [Tue, 10 Mar 2009 20:44:23 +0000 (22:44 +0200)]
Almost wait-free snapshot handling in the vout thread

Using vlc_mutex_trylock(), we make sure that the video output thread
will not yield because of an incomplete snapshot request. It can still
yield in the very unlikely case that a thread is doing a snapshot
request while the video output thread finishes sorting SPUs _and_ there
already was a pending snapshot earlier.

15 years agoAdd vlc_mutex_trylock
Rémi Denis-Courmont [Tue, 10 Mar 2009 20:43:54 +0000 (22:43 +0200)]
Add vlc_mutex_trylock

15 years agoWin32: disable sprintf wrapper for %z
Pierre Ynard [Wed, 11 Mar 2009 11:13:18 +0000 (12:13 +0100)]
Win32: disable sprintf wrapper for %z

The macros are indeed a little bit too intrusive, and break calls to
QString::sprintf

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agoFixed a Bug in UpdateEdgeWeighting used wrong const for number of columns (copy and...
André Weber [Wed, 11 Mar 2009 18:13:27 +0000 (19:13 +0100)]
Fixed a Bug in UpdateEdgeWeighting used wrong const for number of columns (copy and paste error)

15 years agoFix libvlc_add_intf documentation
Rémi Denis-Courmont [Tue, 10 Mar 2009 21:16:03 +0000 (23:16 +0200)]
Fix libvlc_add_intf documentation

15 years agoFix progress dialog scale
Rémi Denis-Courmont [Tue, 10 Mar 2009 18:05:59 +0000 (20:05 +0200)]
Fix progress dialog scale

15 years agoWin32 compile fix
Rémi Denis-Courmont [Tue, 10 Mar 2009 17:29:00 +0000 (19:29 +0200)]
Win32 compile fix

15 years agoRTP out: improve soft-error handling
Rémi Denis-Courmont [Tue, 10 Mar 2009 16:54:03 +0000 (18:54 +0200)]
RTP out: improve soft-error handling

When the socket is congested, we should simply skip sending.
When there is a soft-error, we should resend and simply ignore.

Instead, we were dropping the socket if the failure remained on the
second try, which was always the case in the congestion scenario.
This should fix the socket dropping problem described at:
http://forum.videolan.org/viewtopic.php?f=4&t=56493

15 years agoDe-deprecate activex plugin.
JP Dinger [Tue, 10 Mar 2009 11:11:23 +0000 (12:11 +0100)]
De-deprecate activex plugin.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agoMove users of playlist_select() inline.
JP Dinger [Tue, 10 Mar 2009 12:22:06 +0000 (13:22 +0100)]
Move users of playlist_select() inline.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agoWin64: properly work around %z modifiers
Pierre Ynard [Mon, 9 Mar 2009 11:18:14 +0000 (12:18 +0100)]
Win64: properly work around %z modifiers

size_t are 64-bit long on Win64, adapt the wrapper for it

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agoWin32: remove uneeded %z hack
Pierre Ynard [Mon, 9 Mar 2009 11:19:10 +0000 (12:19 +0100)]
Win32: remove uneeded %z hack

Since we now have a general work around, this hack is not needed
anymore. This reverts commit 6f1a7b41f0f2175ceb1dd399b1ded5e30ffe704b

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agoWin32: wrappers to work around %z printf
Pierre Ynard [Tue, 10 Mar 2009 09:48:09 +0000 (10:48 +0100)]
Win32: wrappers to work around %z printf

This patch works around unsupported %z modifiers, by using a wrapper
around *printf functions that patches the format string on the fly. The
format string is duplicated, and "%z"'s are replaced by "%l"'s.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years agoMissing return value
Rémi Denis-Courmont [Tue, 10 Mar 2009 16:05:32 +0000 (18:05 +0200)]
Missing return value

15 years agolibvlc_media_player_get_state: cache is between [0.0 .. 1.0] (spotted by Laurant...
Jean-Paul Saman [Tue, 10 Mar 2009 10:15:35 +0000 (11:15 +0100)]
libvlc_media_player_get_state: cache is between [0.0 .. 1.0] (spotted by Laurant Almar).