vlc.git
11 years agoMove remaining replacement to static import library
Rémi Denis-Courmont [Fri, 10 Apr 2009 19:17:13 +0000 (22:17 +0300)]
Move remaining replacement to static import library

11 years agoMention which standard replacements follow
Rémi Denis-Courmont [Fri, 10 Apr 2009 19:12:30 +0000 (22:12 +0300)]
Mention which standard replacements follow

11 years agoAvoid alloca()
Rémi Denis-Courmont [Fri, 10 Apr 2009 18:15:18 +0000 (21:15 +0300)]
Avoid alloca()

By the way, alloca() _cannot_ return NULL. It simply crashes if there
is not enough memory.

11 years agoUse stack array rather than alloca
Rémi Denis-Courmont [Fri, 10 Apr 2009 18:14:38 +0000 (21:14 +0300)]
Use stack array rather than alloca

11 years agoRemove useless bsearch check
Rémi Denis-Courmont [Fri, 10 Apr 2009 17:17:03 +0000 (20:17 +0300)]
Remove useless bsearch check

11 years agoStart moving replacement functions to a static import library
Rémi Denis-Courmont [Fri, 10 Apr 2009 17:14:10 +0000 (20:14 +0300)]
Start moving replacement functions to a static import library

11 years agoRemove unused scandir check
Rémi Denis-Courmont [Fri, 10 Apr 2009 16:41:21 +0000 (19:41 +0300)]
Remove unused scandir check

11 years agowin32: delete old *printf fixup code.
David Flynn [Fri, 10 Apr 2009 12:53:01 +0000 (12:53 +0000)]
win32: delete old *printf fixup code.

mingw provides this all for free and is better.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agowin32: Fix *printf & require mingw32-runtime version > 3.13
David Flynn [Fri, 10 Apr 2009 12:53:00 +0000 (12:53 +0000)]
win32: Fix *printf & require mingw32-runtime version > 3.13

*printf as per MSVCRT is not c99 compliant.  mingw32 provides a set of
replacement functions, but these are buggy in old versions.

Defining __USE_MINGW_ANSI_STDIO causes mingw's stdio to provide a
set of wrappers that use the mingw32 version that gets statically
linked.

Attention needs to be given to contrib too, it is possible for contrib
to expect a c99 *printf and later die.  This patch modifies the conrtib
bootstrap to define the above in CPPFLAGS, however, not all builds
honour CPPFLAGS.

This can be validated by looking for the import from msvcrt:

  $ find vlc-w32/vlc-1.0.0-pre1/ -name '*.dll' -print -exec sh -c \
     'i586-mingw32msvc-nm {} | grep __imp__.*printf' ';'

If all is good, this shouldn't find anything.

This patch *will* break WinCE support.  However, it is semibroken
anyway; better to force it to be fixed completely.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoRevert "Revert "win32: remove old attempts to define snprintf _snprintf""
David Flynn [Fri, 10 Apr 2009 12:52:59 +0000 (12:52 +0000)]
Revert "Revert "win32: remove old attempts to define snprintf _snprintf""

This reverts commit db01e438b2125e1a221535adc07eda1ae65b0769.

Original commit was correct. -- davidf

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agocontrib: fix building static liboil
David Flynn [Fri, 10 Apr 2009 12:52:58 +0000 (12:52 +0000)]
contrib: fix building static liboil

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoRemove useless check for time.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:38:58 +0000 (16:38 +0300)]
Remove useless check for time.h

11 years agoRemove useless (partially used) check for stdint.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:33:54 +0000 (16:33 +0300)]
Remove useless (partially used) check for stdint.h

11 years agoRemove unused check for sys/sockio.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:32:21 +0000 (16:32 +0300)]
Remove unused check for sys/sockio.h

11 years agoRemove useless (very partially used) check for errno.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:31:25 +0000 (16:31 +0300)]
Remove useless (very partially used) check for errno.h

11 years agoRemove unused check for stdbool.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:28:45 +0000 (16:28 +0300)]
Remove unused check for stdbool.h

11 years agoRemove unused check for wchar.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:27:33 +0000 (16:27 +0300)]
Remove unused check for wchar.h

11 years agoRemove unused check for sys/int_types.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:26:42 +0000 (16:26 +0300)]
Remove unused check for sys/int_types.h

11 years agoRemove useless check for inttypes.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:26:01 +0000 (16:26 +0300)]
Remove useless check for inttypes.h

11 years agoRemove useless check for (C89) <signal.h>
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:24:14 +0000 (16:24 +0300)]
Remove useless check for (C89) <signal.h>

11 years agomacosx: implement controll support for the Media Keys on Brushed Al Apple keyboards
Felix Paul Kühne [Fri, 10 Apr 2009 13:53:07 +0000 (15:53 +0200)]
macosx: implement controll support for the Media Keys on Brushed Al Apple keyboards

I'll add an option to disable this feature later on

11 years agomacosx: fixed crash in case either psz_module or psz_msg are NULL when received from...
Felix Paul Kühne [Fri, 10 Apr 2009 10:02:04 +0000 (12:02 +0200)]
macosx: fixed crash in case either psz_module or psz_msg are NULL when received from core

Fixes playback of AVI files... ;)

11 years agoQt4: correct fix for Hotkeys preferences.
Jean-Baptiste Kempf [Thu, 9 Apr 2009 20:39:36 +0000 (22:39 +0200)]
Qt4: correct fix for Hotkeys preferences.

11 years agoContribs: live-win32-nonblock.patch is unneeded now (applied upstream)
Jean-Baptiste Kempf [Thu, 9 Apr 2009 20:34:25 +0000 (22:34 +0200)]
Contribs: live-win32-nonblock.patch is unneeded now (applied upstream)

11 years agoRevert "win32: fix %zu fixups - dont use mingw's vsnprintf"
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:59:21 +0000 (20:59 +0200)]
Revert "win32: fix %zu fixups - dont use mingw's vsnprintf"

This reverts commit 151982aab503fa812cd4d6e830df34e78871c106.

11 years agoRevert "win32: vlc_fix_format_string - various fixes"
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:59:05 +0000 (20:59 +0200)]
Revert "win32: vlc_fix_format_string - various fixes"

This reverts commit 3779d5bd1c335d724b31ce730a8387cb7770fc06.

11 years agoRevert "win32: make vlc_vsnprintf more like c99 vsnprintf"
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:58:54 +0000 (20:58 +0200)]
Revert "win32: make vlc_vsnprintf more like c99 vsnprintf"

This reverts commit 30f33e7a0e3726404e4b9d2f51840e8de1a527f3.

11 years agoRevert "win32: remove old attempts to define snprintf _snprintf"
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:58:40 +0000 (20:58 +0200)]
Revert "win32: remove old attempts to define snprintf _snprintf"

This reverts commit 3bceb9cfef124ace40526336905a2a0656bb5630.

11 years agoRevert "Qt: fix crashes possible in Hotkey settings."
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:57:06 +0000 (20:57 +0200)]
Revert "Qt: fix crashes possible in Hotkey settings."

This reverts commit f5d10727954d8b176a25a54e12e30832b599b509.

11 years agoImproved wav multichannel support.
Laurent Aimar [Tue, 7 Apr 2009 12:29:30 +0000 (14:29 +0200)]
Improved wav multichannel support.

When a channel mask is incomplete, use 'random' position to fill it up.
(It means that the channel position is 'unspecified' and so we have to
choose it ourselve).
It should fix #2618.

11 years agoCompile fix
Rémi Denis-Courmont [Thu, 9 Apr 2009 16:18:30 +0000 (19:18 +0300)]
Compile fix

11 years agoQt: fix crashes possible in Hotkey settings.
Jean-Baptiste Kempf [Thu, 9 Apr 2009 16:14:22 +0000 (18:14 +0200)]
Qt: fix crashes possible in Hotkey settings.

11 years agoXCB: resize support
Rémi Denis-Courmont [Thu, 9 Apr 2009 14:54:41 +0000 (17:54 +0300)]
XCB: resize support

Note that the video output core seems to call pf_end while some pictures
are still in use upstream. That will crash. IMHO, this is a libvlc bug,
as the vout plugin cannot know when to release the picture or reallocate
those pictures.

11 years agoX11 common: code factorization
Rémi Denis-Courmont [Thu, 9 Apr 2009 09:47:30 +0000 (12:47 +0300)]
X11 common: code factorization

11 years agoxcb_window: implement VOUT_SET_SIZE
Rémi Denis-Courmont [Thu, 9 Apr 2009 09:46:45 +0000 (12:46 +0300)]
xcb_window: implement VOUT_SET_SIZE

11 years agoContrib: Force schroedinger to be mono-threaded, until it is fixed for win32.
Jean-Baptiste Kempf [Thu, 9 Apr 2009 14:07:04 +0000 (16:07 +0200)]
Contrib: Force schroedinger to be mono-threaded, until it is fixed for win32.

11 years agomacosx: updated window styles for VLCControllerWindow and VLCEmbeddedWindow based...
Felix Paul Kühne [Thu, 9 Apr 2009 09:22:25 +0000 (11:22 +0200)]
macosx: updated window styles for VLCControllerWindow and VLCEmbeddedWindow based upon a patch by Georg Seifert

Some tweaks to the nib file (so VLCControllerWindow looks all textured again) will be submitted later on.

11 years agoAdd vlm_MessageSimpleNew with --disable-vlm
Rémi Denis-Courmont [Thu, 9 Apr 2009 09:02:57 +0000 (12:02 +0300)]
Add vlm_MessageSimpleNew with --disable-vlm

11 years agoFixed spu_t attach/detach sequence.
Laurent Aimar [Wed, 8 Apr 2009 21:30:31 +0000 (23:30 +0200)]
Fixed spu_t attach/detach sequence.

It should fix #2622 (segfault with vout-filter).

11 years agoFixed sanetizing of file name in input_CreateFilename.
Laurent Aimar [Wed, 8 Apr 2009 19:51:00 +0000 (21:51 +0200)]
Fixed sanetizing of file name in input_CreateFilename.

It should fix #2620 (and was not limited to windows only).

11 years agoWarned about unused filename_sanitize result.
Laurent Aimar [Wed, 8 Apr 2009 19:29:49 +0000 (21:29 +0200)]
Warned about unused filename_sanitize result.

11 years agoFixed integer overflow in avi index creation.
Laurent Aimar [Wed, 8 Apr 2009 19:23:13 +0000 (21:23 +0200)]
Fixed integer overflow in avi index creation.

It fixes #2583.

11 years agoImprove debug
Rémi Denis-Courmont [Wed, 8 Apr 2009 20:15:43 +0000 (23:15 +0300)]
Improve debug

11 years agoCosmetic
Rémi Denis-Courmont [Wed, 8 Apr 2009 15:51:19 +0000 (18:51 +0300)]
Cosmetic

11 years agoForcefully update file size if read data past the former end of it
Rémi Denis-Courmont [Wed, 8 Apr 2009 15:49:51 +0000 (18:49 +0300)]
Forcefully update file size if read data past the former end of it

Maybe we could call fstat() at every read anyway? While a file is open,
the operating system is extremely likely to have its meta data cached.

11 years agoReading regular and block files can always be paced
Rémi Denis-Courmont [Wed, 8 Apr 2009 15:49:08 +0000 (18:49 +0300)]
Reading regular and block files can always be paced

11 years agoavi: set title instead of message. This looks better in dialogues
Felix Paul Kühne [Wed, 8 Apr 2009 11:18:01 +0000 (13:18 +0200)]
avi: set title instead of message. This looks better in dialogues

11 years agomacosx: make sure that 'dialog-progress-bar' and 'dialog-login' don't look like alien...
Felix Paul Kühne [Wed, 8 Apr 2009 11:13:46 +0000 (13:13 +0200)]
macosx: make sure that 'dialog-progress-bar' and 'dialog-login' don't look like aliens from outta space, but normal OS X dialogues

11 years agomacosx: draft for 'dialog-progress-bar' and clean up
Felix Paul Kühne [Wed, 8 Apr 2009 11:08:14 +0000 (13:08 +0200)]
macosx: draft for 'dialog-progress-bar' and clean up

This isn't fully functional, as the callbacks aren't being triggered, although set. Needs some more investigation.

11 years agomacosx: added 'ffmpeg-skiploopfilter' to the simple prefs too and fixed the postproce...
Felix Paul Kühne [Wed, 8 Apr 2009 10:09:51 +0000 (12:09 +0200)]
macosx: added 'ffmpeg-skiploopfilter' to the simple prefs too and fixed the postprocessing level setting, as the variable name changed

11 years agol10n: Italian update
Vincenzo Reale [Wed, 8 Apr 2009 00:39:33 +0000 (01:39 +0100)]
l10n: Italian update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agoqt4: i18n fixes
Eric Lassauge [Tue, 7 Apr 2009 23:51:03 +0000 (00:51 +0100)]
qt4: i18n fixes

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agoi18n: Add missing files
Eric Lassauge [Mon, 6 Apr 2009 11:08:13 +0000 (13:08 +0200)]
i18n: Add missing files

And remove deleted ones

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agomacosx: compilation fix *grml*
Felix Paul Kühne [Tue, 7 Apr 2009 21:27:58 +0000 (23:27 +0200)]
macosx: compilation fix *grml*

11 years agomacosx: reflect the renamings in the respective files
Felix Paul Kühne [Tue, 7 Apr 2009 21:24:03 +0000 (23:24 +0200)]
macosx: reflect the renamings in the respective files

11 years agomacosx: rename files as there is no Interaction framework anymore
Felix Paul Kühne [Tue, 7 Apr 2009 21:22:44 +0000 (23:22 +0200)]
macosx: rename files as there is no Interaction framework anymore

11 years agomacosx: new nib file for more complex dialogs triggered through VLC's core
Felix Paul Kühne [Tue, 7 Apr 2009 21:18:06 +0000 (23:18 +0200)]
macosx: new nib file for more complex dialogs triggered through VLC's core

11 years agomacosx: implemented 'dialog-login' and cleaned up most dead code
Felix Paul Kühne [Tue, 7 Apr 2009 21:14:26 +0000 (23:14 +0200)]
macosx: implemented 'dialog-login' and cleaned up most dead code

11 years agomacosx: implement 'dialog-fatal' and 'dialog-question' correctly and completely
Felix Paul Kühne [Tue, 7 Apr 2009 17:46:45 +0000 (19:46 +0200)]
macosx: implement 'dialog-fatal' and 'dialog-question' correctly and completely

This introduces a lot of dead code, which will be cleaned up later on, but is left there for reference.

11 years agomacosx: fix addition of empty folders to the playlist. needs some beautification...
Felix Paul Kühne [Tue, 7 Apr 2009 16:52:22 +0000 (18:52 +0200)]
macosx: fix addition of empty folders to the playlist. needs some beautification later on.

11 years agocontribs: forward-port Derk-Jan's libswscale fixes (PPC only)
Felix Paul Kühne [Tue, 7 Apr 2009 16:25:30 +0000 (18:25 +0200)]
contribs: forward-port Derk-Jan's libswscale fixes (PPC only)

11 years agocontribs: bootstrap dirac on Darwin, so we don't need to update libtool
Felix Paul Kühne [Tue, 7 Apr 2009 16:09:50 +0000 (18:09 +0200)]
contribs: bootstrap dirac on Darwin, so we don't need to update libtool

11 years agocontribs: fix goom compilation
Felix Paul Kühne [Tue, 7 Apr 2009 14:20:07 +0000 (16:20 +0200)]
contribs: fix goom compilation

11 years agocontribs: updated libtool to 2.2.6(a) because of dirac
Felix Paul Kühne [Tue, 7 Apr 2009 14:15:46 +0000 (16:15 +0200)]
contribs: updated libtool to 2.2.6(a) because of dirac

11 years agocontribs: live555 compilation fix
Felix Paul Kühne [Tue, 7 Apr 2009 13:40:49 +0000 (15:40 +0200)]
contribs: live555 compilation fix

11 years agol10n: Italian update
Vincenzo Reale [Mon, 6 Apr 2009 23:43:44 +0000 (00:43 +0100)]
l10n: Italian update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agol10n: Dutch update
Myckel Habets [Mon, 6 Apr 2009 23:42:49 +0000 (00:42 +0100)]
l10n: Dutch update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agol10n: Punjabi update
A S Alam [Mon, 6 Apr 2009 23:40:46 +0000 (00:40 +0100)]
l10n: Punjabi update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agol10n: Czech update
Tomáš Chvátal [Mon, 6 Apr 2009 23:39:23 +0000 (00:39 +0100)]
l10n: Czech update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agoMerge po with new vlc.pot
Christophe Mutricy [Mon, 6 Apr 2009 23:25:48 +0000 (00:25 +0100)]
Merge po with new vlc.pot

11 years agoUpdate vlc.pot with the strings from the .ui this time
Christophe Mutricy [Mon, 6 Apr 2009 23:24:16 +0000 (00:24 +0100)]
Update vlc.pot with the strings from the .ui this time

11 years agoDon't reinvent strcasecmp().
Antoine Cellerier [Mon, 6 Apr 2009 21:29:57 +0000 (23:29 +0200)]
Don't reinvent strcasecmp().

11 years agoUse image_Mime2Fourcc().
Antoine Cellerier [Mon, 6 Apr 2009 21:27:50 +0000 (23:27 +0200)]
Use image_Mime2Fourcc().

11 years agoAdd image_Mime2Fourcc() function and use in image_ReadUrl()
Antoine Cellerier [Mon, 6 Apr 2009 21:25:17 +0000 (23:25 +0200)]
Add image_Mime2Fourcc() function and use in image_ReadUrl()

11 years agolibmpeg2: Fix Closed Captions in GOP.
Derk-Jan Hartman [Mon, 6 Apr 2009 20:54:11 +0000 (22:54 +0200)]
libmpeg2: Fix Closed Captions in GOP.

This fixes a case where our libmpeg2 module was not extracting
Closed Captions from the user_data, when this user_data was in the
GOP header, instead of in the picture header. This information is
retained until the next picture (date) is handled.

See sample "bob-dvd-closedcaptioning works in ffmpeg but not in libmpeg2.ts"

11 years agoDo not print the password in the log. That's dangerous!
Antoine Cellerier [Mon, 6 Apr 2009 20:11:07 +0000 (22:11 +0200)]
Do not print the password in the log. That's dangerous!

11 years agoBring the glibc detection back, not using dlopen() hacks anymore.
Rémi Denis-Courmont [Mon, 6 Apr 2009 17:27:47 +0000 (20:27 +0300)]
Bring the glibc detection back, not using dlopen() hacks anymore.

11 years agoMissing comma (fixes #2634)
Rémi Denis-Courmont [Mon, 6 Apr 2009 17:12:02 +0000 (20:12 +0300)]
Missing comma (fixes #2634)

11 years agoDo not translate "". Fix the localized configuration file.
Rémi Denis-Courmont [Mon, 6 Apr 2009 17:03:25 +0000 (20:03 +0300)]
Do not translate "". Fix the localized configuration file.

11 years agoAttach VLM inputs to LibVLC. Fixes #2639.
Rémi Denis-Courmont [Mon, 6 Apr 2009 16:37:11 +0000 (19:37 +0300)]
Attach VLM inputs to LibVLC. Fixes #2639.

11 years agoReally fix the vlm_MessageNew NULL warning
Rémi Denis-Courmont [Mon, 6 Apr 2009 16:10:39 +0000 (19:10 +0300)]
Really fix the vlm_MessageNew NULL warning

11 years agoRun xgettext on the .h and not the .ui
Christophe Mutricy [Sun, 5 Apr 2009 23:02:45 +0000 (01:02 +0200)]
Run xgettext on the .h and not the .ui

Tweack the rules in po/. Not perfect you can't run make update-po (and
so make dist) if your builddir isn't a subdir of srcdir. And of course
it still putting te .gmo in srcdir

11 years agomacosx: paste the UDP/RTP MRL to the URL field once the sheet is dismissed so the...
Felix Paul Kühne [Sun, 5 Apr 2009 22:21:58 +0000 (00:21 +0200)]
macosx: paste the UDP/RTP MRL to the URL field once the sheet is dismissed so the user can see that the selection actually worked. No functional change.

11 years agoFix flickering when decoding TSCC. (Backport if we're doing a 0.9.10)
Antoine Cellerier [Sun, 5 Apr 2009 22:06:46 +0000 (00:06 +0200)]
Fix flickering when decoding TSCC. (Backport if we're doing a 0.9.10)

11 years agoVLM : Add media name in callbacks
Sébastien Escudier [Tue, 31 Mar 2009 14:20:09 +0000 (16:20 +0200)]
VLM : Add media name in callbacks

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoWinCE: undefined file descriptor use
Rémi Denis-Courmont [Sun, 5 Apr 2009 20:16:18 +0000 (23:16 +0300)]
WinCE: undefined file descriptor use

11 years agoExplode in the face of the user if (s)he has a broken glibc
Rémi Denis-Courmont [Sun, 5 Apr 2009 19:47:40 +0000 (22:47 +0300)]
Explode in the face of the user if (s)he has a broken glibc

I am fed up with all the blame we got for this for over a year.

11 years agoFix scene filter when using source dimensions as output dimensions. Allow outputing...
Antoine Cellerier [Sun, 5 Apr 2009 18:37:48 +0000 (20:37 +0200)]
Fix scene filter when using source dimensions as output dimensions. Allow outputing to all image types supported by VLC.

11 years agoTypo
Rémi Denis-Courmont [Sun, 5 Apr 2009 18:19:42 +0000 (21:19 +0300)]
Typo

11 years agowin32: blind attempt at fixing RTSP connection (hopefully fixes #2560)
Rémi Denis-Courmont [Sun, 5 Apr 2009 17:45:29 +0000 (20:45 +0300)]
win32: blind attempt at fixing RTSP connection (hopefully fixes #2560)

That being noted, I would advocate ditching all RTSP control connection
timeouts from our live555 plugins. Looking at strace, live555 waits
forever in the middle of receiving RTSP messages anyway.

11 years agoEnglish
Rémi Denis-Courmont [Sun, 5 Apr 2009 17:24:15 +0000 (20:24 +0300)]
English

11 years agoAttach VOD task to libvlc rather than VLM - fixes #2581
Rémi Denis-Courmont [Sun, 5 Apr 2009 16:55:17 +0000 (19:55 +0300)]
Attach VOD task to libvlc rather than VLM - fixes #2581

11 years agoAdd extensions we support to the open dialogs.
Jean-Baptiste Kempf [Sun, 5 Apr 2009 16:46:40 +0000 (18:46 +0200)]
Add extensions we support to the open dialogs.

11 years agoWin32: canonicalize path separator, avoid isalpha(), remove dead code
Rémi Denis-Courmont [Sun, 5 Apr 2009 16:30:30 +0000 (19:30 +0300)]
Win32: canonicalize path separator, avoid isalpha(), remove dead code

In principle, isalpha() depends on the locale. As for directory
traversal, we should either add a boolean, or fix it manually in the
caller (on a case-by-case basis).

11 years agoRevamp subtitle encodings list
Rémi Denis-Courmont [Sun, 5 Apr 2009 15:06:49 +0000 (18:06 +0300)]
Revamp subtitle encodings list

 - remove practically never used encodings (UTF-32, ARMSCII, Latin-4...),
 - remove duplicates and/or subsets (UCS, Latin-1, TIS620...) that I know of,
 - provide human-readable names (fixes #2571).

11 years agoQt: put H.264 loopfilter skipping in SPrefs.
Jean-Baptiste Kempf [Sun, 5 Apr 2009 14:55:14 +0000 (16:55 +0200)]
Qt: put H.264 loopfilter skipping in SPrefs.

1/ We have so much of those requests on the forum.
2/ It doesn't change any string.
3/ Change is self-contained.

11 years agoRemove inexistant MuleLao-1 and NEXTSTEP encodings
Rémi Denis-Courmont [Sun, 5 Apr 2009 13:28:06 +0000 (16:28 +0300)]
Remove inexistant MuleLao-1 and NEXTSTEP encodings

11 years agoRemove ASCII encoding, subset of UTF-8 (and many other)
Rémi Denis-Courmont [Sun, 5 Apr 2009 13:26:03 +0000 (16:26 +0300)]
Remove ASCII encoding, subset of UTF-8 (and many other)

11 years agoRemove inexistent encodings: C99, JAVA and HZ
Rémi Denis-Courmont [Sun, 5 Apr 2009 13:22:47 +0000 (16:22 +0300)]
Remove inexistent encodings: C99, JAVA and HZ

11 years agops: fix division by zero when seeking (fixes #2633)
Rémi Denis-Courmont [Sun, 5 Apr 2009 11:42:37 +0000 (14:42 +0300)]
ps: fix division by zero when seeking (fixes #2633)

That happened when seeking during the first second of playback.