vlc.git
11 years agoReorganize the dbus control module code
Mirsal Ennaime [Mon, 5 Jul 2010 07:05:34 +0000 (09:05 +0200)]
Reorganize the dbus control module code

 * Split the module source code into several files

Functionality is unchanged, but the result is more maintainable.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoQt4: small preference cleanup
Jean-Baptiste Kempf [Mon, 5 Jul 2010 09:24:30 +0000 (11:24 +0200)]
Qt4: small preference cleanup

11 years agoWin32: simplify and fix targets
Jean-Baptiste Kempf [Mon, 5 Jul 2010 08:16:18 +0000 (10:16 +0200)]
Win32: simplify and fix targets

11 years agox264: forgotten free() spotted by ivoire
Ilkka Ollakka [Mon, 5 Jul 2010 07:00:10 +0000 (10:00 +0300)]
x264: forgotten free() spotted by ivoire

11 years agox264 compile fix for x264 < 102
Ilkka Ollakka [Mon, 5 Jul 2010 06:47:05 +0000 (09:47 +0300)]
x264 compile fix for x264 < 102

11 years agox264: add options for opengop
Ilkka Ollakka [Mon, 5 Jul 2010 06:33:18 +0000 (09:33 +0300)]
x264: add options for opengop

11 years agoFixes comment.
Sebastien Zwickert [Sun, 4 Jul 2010 01:45:04 +0000 (03:45 +0200)]
Fixes comment.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoWin32: Remove rebase stuff
Jean-Baptiste Kempf [Sun, 4 Jul 2010 18:53:48 +0000 (20:53 +0200)]
Win32: Remove rebase stuff

This was cygwin specific, probably conflicting with ASLR/DEP
and noone is able to understand the logic behind it.

11 years agorar: fix possible use of un undefined value (due to a goto on error).
Rémi Duraffort [Sun, 4 Jul 2010 06:22:14 +0000 (08:22 +0200)]
rar: fix possible use of un undefined value (due to a goto on error).

11 years agoQt4: restart the playlist in the correct state when closed
Jean-Baptiste Kempf [Sat, 3 Jul 2010 22:26:53 +0000 (00:26 +0200)]
Qt4: restart the playlist in the correct state when closed

Close #3788

11 years agoML: Use a lock for ml_Create
Srikanth Raju [Sat, 3 Jul 2010 18:21:01 +0000 (23:51 +0530)]
ML: Use a lock for ml_Create

11 years agoML: No need to initialise
Srikanth Raju [Sat, 3 Jul 2010 17:58:43 +0000 (23:28 +0530)]
ML: No need to initialise

11 years agoML: Remove leading underscores from core functions
Srikanth Raju [Sat, 3 Jul 2010 15:43:56 +0000 (21:13 +0530)]
ML: Remove leading underscores from core functions

11 years agoML: Replace pl_Hold with pl_Get
Srikanth Raju [Sat, 3 Jul 2010 13:43:33 +0000 (19:13 +0530)]
ML: Replace pl_Hold with pl_Get

11 years agoML: Remove asserts in vlc_media_library.h
Srikanth Raju [Sat, 3 Jul 2010 13:22:48 +0000 (18:52 +0530)]
ML: Remove asserts in vlc_media_library.h

11 years agoSuppress warnings in missing.c
Srikanth Raju [Sat, 26 Jun 2010 16:42:21 +0000 (22:12 +0530)]
Suppress warnings in missing.c

11 years agoNEWS about Rar
Jean-Baptiste Kempf [Sat, 3 Jul 2010 15:07:58 +0000 (17:07 +0200)]
NEWS about Rar

11 years agoFix make dist after RAR commits
Jean-Baptiste Kempf [Sat, 3 Jul 2010 15:05:52 +0000 (17:05 +0200)]
Fix make dist after RAR commits

11 years agoMakefile: remove BeOS make
Jean-Baptiste Kempf [Sat, 3 Jul 2010 14:39:15 +0000 (16:39 +0200)]
Makefile: remove BeOS make

BeOS is dead and unmaintained

11 years agoWin32: fixup for Unix2dos various names
Jean-Baptiste Kempf [Sat, 3 Jul 2010 14:38:20 +0000 (16:38 +0200)]
Win32: fixup for Unix2dos various names

11 years agoWin32: further simplification
Jean-Baptiste Kempf [Sat, 3 Jul 2010 14:24:17 +0000 (16:24 +0200)]
Win32: further simplification

11 years agoWin32: no need for activex and mozilla folder.
Jean-Baptiste Kempf [Sat, 3 Jul 2010 14:17:07 +0000 (16:17 +0200)]
Win32: no need for activex and mozilla folder.

11 years agoWin32: we now depend on make install
Jean-Baptiste Kempf [Sat, 3 Jul 2010 13:57:28 +0000 (15:57 +0200)]
Win32: we now depend on make install

+ small fix

11 years agoQt: more fixes for x64
Jean-Baptiste Kempf [Sat, 3 Jul 2010 12:17:45 +0000 (14:17 +0200)]
Qt: more fixes for x64

11 years agoQt: blind fix for compilation of extended panels
Jean-Baptiste Kempf [Sat, 3 Jul 2010 12:03:22 +0000 (14:03 +0200)]
Qt: blind fix for compilation of extended panels

11 years agoMKV : Export MPEG[12] sequence header present in CodecPrivate as extradata.
Jai Menon [Thu, 1 Jul 2010 14:21:40 +0000 (19:51 +0530)]
MKV : Export MPEG[12] sequence header present in CodecPrivate as extradata.

This fixes files where the muxer doesn't store sequence headers
as part of the stream.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoWin32 Makefile: remove unused targets and clean
Jean-Baptiste Kempf [Sat, 3 Jul 2010 11:35:09 +0000 (13:35 +0200)]
Win32 Makefile: remove unused targets and clean

This commits installs plugins in a plugins/ hierarchy and NOT a flat plugins/
This might kill your cat. You are warned

11 years agoWin32: makefile simplification for peflags, osdmenu and lua
Jean-Baptiste Kempf [Sat, 3 Jul 2010 11:24:01 +0000 (13:24 +0200)]
Win32: makefile simplification for peflags, osdmenu and lua

Using find.

11 years agoWin32: more simplifications using find foo
Jean-Baptiste Kempf [Sat, 3 Jul 2010 11:13:29 +0000 (13:13 +0200)]
Win32: more simplifications using find foo

11 years agoMakefile: Forgotten file in previous commit
Jean-Baptiste Kempf [Sat, 3 Jul 2010 10:49:54 +0000 (12:49 +0200)]
Makefile: Forgotten file in previous commit

11 years agoBe consistent in how you name readme files
Jean-Baptiste Kempf [Sat, 3 Jul 2010 10:41:16 +0000 (12:41 +0200)]
Be consistent in how you name readme files

11 years agoWin32: makefile simplification
Jean-Baptiste Kempf [Sat, 3 Jul 2010 10:34:35 +0000 (12:34 +0200)]
Win32: makefile simplification

After `make install` move the right files around so it matches the old layout

11 years agoC++ compile fix
Rémi Denis-Courmont [Fri, 2 Jul 2010 18:29:33 +0000 (21:29 +0300)]
C++ compile fix

11 years agoMake vlc_value_t.i_int 64-bits
Rémi Denis-Courmont [Fri, 2 Jul 2010 17:54:50 +0000 (20:54 +0300)]
Make vlc_value_t.i_int 64-bits

The memory usage is already there anyway. However, this increases the
code size a little, especially on 32-bits platforms.

N.B.: helper getter functions are still 32-bits until further change.
So are configuration items.

11 years agostats: can't set two values in the same union
Rémi Denis-Courmont [Fri, 2 Jul 2010 17:46:12 +0000 (20:46 +0300)]
stats: can't set two values in the same union

11 years agopadding is superfluous (mtime_t, coords...)
Rémi Denis-Courmont [Fri, 2 Jul 2010 16:52:13 +0000 (19:52 +0300)]
padding is superfluous (mtime_t, coords...)

11 years agoWin32: prepare "make install" to work.
Jean-Baptiste Kempf [Fri, 2 Jul 2010 13:18:32 +0000 (15:18 +0200)]
Win32: prepare "make install" to work.

11 years agoQt4: adjust default playlist font, hopefully looks better in windows
Ilkka Ollakka [Fri, 2 Jul 2010 11:47:58 +0000 (14:47 +0300)]
Qt4: adjust default playlist font, hopefully looks better in windows

11 years agoUpdate module LIST
Jean-Baptiste Kempf [Fri, 2 Jul 2010 10:02:09 +0000 (12:02 +0200)]
Update module LIST

Remember that omapfb opengl hd1000v and ggi are dead...

11 years agoDxVA2: Remove tab in source code
Jean-Baptiste Kempf [Fri, 2 Jul 2010 09:49:27 +0000 (11:49 +0200)]
DxVA2: Remove tab in source code

11 years agoFix libvlc_video_set_crop_geometry() to accept custom values (untested)
Rémi Denis-Courmont [Fri, 2 Jul 2010 02:43:25 +0000 (05:43 +0300)]
Fix libvlc_video_set_crop_geometry() to accept custom values (untested)

11 years agoWin32: Activate DEP on XP SP3. DEP is useless without ASLR, but people using an 10...
Geoffroy Couprie [Thu, 1 Jul 2010 20:17:38 +0000 (22:17 +0200)]
Win32: Activate DEP on XP SP3. DEP is useless without ASLR, but people using an 10 year old OS don't have the right to complain

11 years agoFix rar compilation on broken OSes
Jean-Baptiste Kempf [Thu, 1 Jul 2010 20:14:07 +0000 (22:14 +0200)]
Fix rar compilation on broken OSes

11 years agoDxVA2: user-friendly descriptions
Jean-Baptiste Kempf [Thu, 1 Jul 2010 14:25:23 +0000 (16:25 +0200)]
DxVA2: user-friendly descriptions

11 years agoSafer vlc_atomic_set for win32.
Laurent Aimar [Thu, 1 Jul 2010 18:32:44 +0000 (20:32 +0200)]
Safer vlc_atomic_set for win32.

11 years agoFixed MPEG2 video decoding used in RTSP.
Laurent Aimar [Thu, 1 Jul 2010 18:20:19 +0000 (20:20 +0200)]
Fixed MPEG2 video decoding used in RTSP.

11 years agoAdded support for multiple files in RAR archives.
Laurent Aimar [Wed, 30 Jun 2010 19:47:27 +0000 (21:47 +0200)]
Added support for multiple files in RAR archives.

It is not yet perfect as it should probably create a XSPF playlist by
reusing some code from the zip modules.

11 years agoNo functiona changes (rar).
Laurent Aimar [Tue, 29 Jun 2010 18:13:09 +0000 (20:13 +0200)]
No functiona changes (rar).

Creates a full list of files inside a rar archives for future modifications.

11 years agoQt: Increase the max synchronisation time
Jean-Baptiste Kempf [Thu, 1 Jul 2010 16:12:19 +0000 (18:12 +0200)]
Qt: Increase the max synchronisation time

11 years agoaudio-visu are about visualization2 modules.
Jean-Baptiste Kempf [Thu, 1 Jul 2010 15:09:41 +0000 (17:09 +0200)]
audio-visu are about visualization2 modules.

Closes #3826

11 years agoskins2: fix RadialSlider (overflow)
Erwan Tulou [Thu, 1 Jul 2010 13:45:42 +0000 (15:45 +0200)]
skins2: fix RadialSlider (overflow)

position varies between 0 and (n-1) when n images are available.
This fixes the widget disappearing when slider was at 100%.

11 years agoDxVA2: cosmetic alignment in GUID
Jean-Baptiste Kempf [Thu, 1 Jul 2010 13:48:16 +0000 (15:48 +0200)]
DxVA2: cosmetic alignment in GUID

11 years agoQt: fix F* keys in Preferences - #3827
Jean-Baptiste Kempf [Thu, 1 Jul 2010 13:00:56 +0000 (15:00 +0200)]
Qt: fix F* keys in Preferences - #3827

KEY_F* are not consequential, while Qt::Key_F* are
Close #3827

11 years agodestroy whitespace
Kaarlo Raiha [Thu, 1 Jul 2010 12:28:46 +0000 (15:28 +0300)]
destroy whitespace

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
11 years agoThanks to dilaroga
Jean-Baptiste Kempf [Thu, 1 Jul 2010 12:02:42 +0000 (14:02 +0200)]
Thanks to dilaroga

11 years agoMacOS: fixes an issue with the recents item that doesn't list the opened media since...
Sebastien Zwickert [Mon, 28 Jun 2010 11:28:30 +0000 (13:28 +0200)]
MacOS: fixes an issue with the recents item that doesn't list the opened media since changes made in b0620aea6b50d3062d1240e6d4a3945ca40b5e92.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoMacOS: fixes #3825. Since [af97f24d528acab89969d6541d83f17ce1ecd580] we need to send...
Sebastien Zwickert [Wed, 30 Jun 2010 11:01:30 +0000 (13:01 +0200)]
MacOS: fixes #3825. Since [af97f24d528acab89969d6541d83f17ce1ecd580] we need to send a stop: message to properly exit libvlc.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoAVCodec : Add the MPEG1 codec ID to the map table.
Jai Menon [Wed, 30 Jun 2010 18:53:53 +0000 (00:23 +0530)]
AVCodec : Add the MPEG1 codec ID to the map table.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoskins2: fix RadiaSlider (typo)
Erwan Tulou [Thu, 1 Jul 2010 10:01:38 +0000 (12:01 +0200)]
skins2: fix RadiaSlider (typo)

11 years agoskins2: fix RadialSlider
Erwan Tulou [Thu, 1 Jul 2010 08:21:36 +0000 (10:21 +0200)]
skins2: fix RadialSlider

    - fix several parameters wrongly spelled (case sensitive)
     (led to crash in atof)
    - fix uninitialized m_position variable

11 years agoFix english text
Jean-Baptiste Kempf [Wed, 30 Jun 2010 22:29:50 +0000 (00:29 +0200)]
Fix english text

11 years agolua: fix fuzzy musicbrainz search and use " " around title/artists
Ilkka Ollakka [Wed, 30 Jun 2010 17:49:15 +0000 (20:49 +0300)]
lua: fix fuzzy musicbrainz search and use " " around title/artists

11 years agoQt4: add playlist-tree selection to simple preferences
Ilkka Ollakka [Wed, 30 Jun 2010 16:09:16 +0000 (19:09 +0300)]
Qt4: add playlist-tree selection to simple preferences

I think tree-view on playlist looks ok (iconview/listview atleast),
so lets not make too hard to enable it.

11 years agoQt4: scale iconview art related to fontsize
Ilkka Ollakka [Wed, 30 Jun 2010 11:21:19 +0000 (14:21 +0300)]
Qt4: scale iconview art related to fontsize

Scales whole view content related to fontsize we get from model.

11 years agoQt4: return fontrole for all items
Ilkka Ollakka [Wed, 30 Jun 2010 11:20:44 +0000 (14:20 +0300)]
Qt4: return fontrole for all items

By default use defaultsize (from theme/system) - 2 points.

11 years agoignore plugins cache in source dir
Rafaël Carré [Wed, 30 Jun 2010 04:54:38 +0000 (06:54 +0200)]
ignore plugins cache in source dir

11 years agoncurses: use const, silence a warning
Rafaël Carré [Wed, 30 Jun 2010 04:07:13 +0000 (06:07 +0200)]
ncurses: use const, silence a warning

11 years agocontribs: fix FFmpeg target when building ARM
Rafaël Carré [Tue, 29 Jun 2010 16:32:14 +0000 (18:32 +0200)]
contribs: fix FFmpeg target when building ARM

Specify --target-os=linux when HAVE_LINUX is 1
Don't depend on libvpx on armel

11 years agoWin32: fix InterlockedExchangeAdd use
Rémi Denis-Courmont [Tue, 29 Jun 2010 14:29:50 +0000 (17:29 +0300)]
Win32: fix InterlockedExchangeAdd use

11 years agoMove vlc_atomic_t typedef to <vlc_common.h>
Rémi Denis-Courmont [Tue, 29 Jun 2010 14:25:37 +0000 (17:25 +0300)]
Move vlc_atomic_t typedef to <vlc_common.h>

Then we don't always need to include <vlc_atomic.h>

11 years agoAtom: use volatile keyword
Rémi Denis-Courmont [Tue, 29 Jun 2010 14:24:15 +0000 (17:24 +0300)]
Atom: use volatile keyword

11 years agoskins2(Linux): set _NET_WM_PID in any case
Erwan Tulou [Tue, 29 Jun 2010 07:12:09 +0000 (09:12 +0200)]
skins2(Linux): set _NET_WM_PID in any case

whatever the window manager says (in _NET_SUPPORTED), setting it is never harmful. It may even be useful in some situations.

pointed out by courmisch

11 years agoWin32: try to fix atomic adds with InterlockedExchangeAdd iso InterlockedAdd
Jean-Baptiste Kempf [Mon, 28 Jun 2010 23:47:21 +0000 (01:47 +0200)]
Win32: try to fix atomic adds with InterlockedExchangeAdd iso InterlockedAdd

11 years agoFix build of mpeg2 module with old libmpeg2 on arm
Christophe Mutricy [Mon, 28 Jun 2010 17:59:42 +0000 (18:59 +0100)]
Fix build of mpeg2 module with old libmpeg2 on arm

11 years agoCleanup after [17638ecf0bd]
Rafaël Carré [Mon, 28 Jun 2010 19:35:16 +0000 (21:35 +0200)]
Cleanup after [17638ecf0bd]

There is no need to change the ASM name of constants
This might fix compilation on compilers not supporting all gcc asm()
features

11 years agoFixed --program behavior.
Laurent Aimar [Mon, 28 Jun 2010 00:49:41 +0000 (02:49 +0200)]
Fixed --program behavior.

11 years agoFixed the selection of a program list in TS demuxer.
Laurent Aimar [Sun, 27 Jun 2010 23:43:51 +0000 (01:43 +0200)]
Fixed the selection of a program list in TS demuxer.

11 years agoDo not filter out program/epg at the TS demuxer level.
Laurent Aimar [Sun, 27 Jun 2010 23:35:23 +0000 (01:35 +0200)]
Do not filter out program/epg at the TS demuxer level.

11 years agoClean up b_access_control usage in TS.
Laurent Aimar [Sun, 27 Jun 2010 23:21:12 +0000 (01:21 +0200)]
Clean up b_access_control usage in TS.

11 years agoFactorized program (un)selection in TS.
Laurent Aimar [Sun, 27 Jun 2010 23:15:47 +0000 (01:15 +0200)]
Factorized program (un)selection in TS.

11 years agoNo functional changes (ts).
Laurent Aimar [Sun, 27 Jun 2010 23:08:06 +0000 (01:08 +0200)]
No functional changes (ts).

11 years agoRemoved write only variables (ts).
Laurent Aimar [Sun, 27 Jun 2010 22:55:32 +0000 (00:55 +0200)]
Removed write only variables (ts).

11 years agoFixed program selection in TS demuxer.
Laurent Aimar [Sun, 27 Jun 2010 22:53:57 +0000 (00:53 +0200)]
Fixed program selection in TS demuxer.

11 years agoFixed (un)selection of pcr pid in TS demuxer.
Laurent Aimar [Sun, 27 Jun 2010 22:52:53 +0000 (00:52 +0200)]
Fixed (un)selection of pcr pid in TS demuxer.

11 years agoFixed a segfault when --programs is used in the TS demuxer.
Laurent Aimar [Sun, 27 Jun 2010 22:50:38 +0000 (00:50 +0200)]
Fixed a segfault when --programs is used in the TS demuxer.

11 years agodshow: add aspect-ratio optio to video-capture
Ilkka Ollakka [Mon, 28 Jun 2010 16:34:43 +0000 (19:34 +0300)]
dshow: add aspect-ratio optio to video-capture

same as v4l2, can't do win-compile myself, so buildbot will be my judge.

11 years agoskins2(Linux): check if _NET_WM_PID is supported
Erwan Tulou [Mon, 28 Jun 2010 08:13:03 +0000 (10:13 +0200)]
skins2(Linux): check if _NET_WM_PID is supported

This kills X11 warnings for Ubuntu/Gnome.

11 years agoQt4: don't draw background on nodes in icon_view by default
Ilkka Ollakka [Mon, 28 Jun 2010 08:33:48 +0000 (11:33 +0300)]
Qt4: don't draw background on nodes in icon_view by default

Only draw background if it's parent of current item, hopefully makes the
iconview in tree-mode littlebit cleaner in UI-wise (well, actually want to
see what others like it in this way). Also should make easier/faster to spot
the current items parent from iconview mode in tree-mode.

Also draw background-rect with rounded corners.

Feel free to revert/worship/point fingers/express opinions on this commit.

11 years agoMacOS: fixes memory management issue. closes #3807
Sebastien Zwickert [Sun, 27 Jun 2010 23:53:00 +0000 (01:53 +0200)]
MacOS: fixes memory management issue. closes #3807

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoRewrite GC code on top of atomic ops
Rémi Denis-Courmont [Sun, 27 Jun 2010 23:19:22 +0000 (02:19 +0300)]
Rewrite GC code on top of atomic ops

(This saves one useless spin lock per GC object)

11 years agoAtomic operations (currently same ones as in garbage collector)
Rémi Denis-Courmont [Sun, 27 Jun 2010 23:13:33 +0000 (02:13 +0300)]
Atomic operations (currently same ones as in garbage collector)

11 years agoOSX: same string as Qt4
Rémi Denis-Courmont [Sun, 27 Jun 2010 22:08:28 +0000 (01:08 +0300)]
OSX: same string as Qt4

11 years agoxspf: silently skip unknown extension nodes (fix #3696)
Rémi Duraffort [Sun, 27 Jun 2010 18:07:15 +0000 (20:07 +0200)]
xspf: silently skip unknown extension nodes (fix #3696)

11 years agoRevert "Do not scan for subtitles files in the current dir for TS files"
Laurent Aimar [Sat, 26 Jun 2010 22:21:40 +0000 (00:21 +0200)]
Revert "Do not scan for subtitles files in the current dir for TS files"

This reverts commit c6ab39323aacc0d62f0908a3f526e93261de62e2.

It is not needed anymore with 769aa8d3f72623abd2543a84d90eba21c89e3f45.

11 years agoPreparse the TS until at least one ES is declared.
Laurent Aimar [Sat, 26 Jun 2010 22:18:46 +0000 (00:18 +0200)]
Preparse the TS until at least one ES is declared.

It is a better workaround to #3075 and it makes preparsing return the ES list
(not yet perfect for that).

11 years agoFixed a segfault with opengl provider.
Laurent Aimar [Sat, 26 Jun 2010 21:07:09 +0000 (23:07 +0200)]
Fixed a segfault with opengl provider.

11 years agoAllocated mod16 D3D surfaces.
Laurent Aimar [Sat, 26 Jun 2010 19:55:20 +0000 (21:55 +0200)]
Allocated mod16 D3D surfaces.

It seems necessary for ATI(?) dxva2 support.

11 years agoPrefered DXVA2_ConfigPictureDecode with guidConfigBitstreamEncryption equals to DXVA_...
Laurent Aimar [Thu, 24 Jun 2010 22:53:14 +0000 (00:53 +0200)]
Prefered DXVA2_ConfigPictureDecode with guidConfigBitstreamEncryption equals to DXVA_NoEncrypt.

It should fix the performance issue with ATI hardware.

11 years agometa_folder: fix a memleak.
Rémi Duraffort [Sun, 27 Jun 2010 16:36:49 +0000 (18:36 +0200)]
meta_folder: fix a memleak.

11 years agoAdd version infos to new LibVLC functions
Rémi Denis-Courmont [Sun, 27 Jun 2010 14:10:33 +0000 (17:10 +0300)]
Add version infos to new LibVLC functions