]> git.sesse.net Git - vlc/log
vlc
15 years agoQt: accelerate the menus
Jean-Philippe Andre [Tue, 27 Jan 2009 19:08:24 +0000 (20:08 +0100)]
Qt: accelerate the menus

Avoid string comparisons. Avoid foreach.

15 years agoSupport for tweaking package-part of install path
Rémi Denis-Courmont [Tue, 27 Jan 2009 18:14:59 +0000 (20:14 +0200)]
Support for tweaking package-part of install path

I kept include files to ../vlc otherwise #include syntax would break

Now, it's up to changing PKGDIR="vlc" to PKGDIR="vlc-1.0".
We just need to decide.

15 years agovlc-plugin.pc: use pkgincludedir
Rémi Denis-Courmont [Tue, 27 Jan 2009 18:14:15 +0000 (20:14 +0200)]
vlc-plugin.pc: use pkgincludedir

15 years agoWinCE: add modules to build
Geoffroy Couprie [Tue, 27 Jan 2009 17:24:06 +0000 (18:24 +0100)]
WinCE: add modules to build

15 years agoWinCE: no MonitorFromWindow
Geoffroy Couprie [Tue, 27 Jan 2009 17:22:04 +0000 (18:22 +0100)]
WinCE: no MonitorFromWindow

15 years agoWinCE: reduce stack size
Geoffroy Couprie [Tue, 27 Jan 2009 17:19:49 +0000 (18:19 +0100)]
WinCE: reduce stack size

15 years agoWin32 cancel assert fixes
Rémi Denis-Courmont [Tue, 27 Jan 2009 16:52:18 +0000 (18:52 +0200)]
Win32 cancel assert fixes

15 years agoLinux: (try to) set close-on-exec in open() system call
Rémi Denis-Courmont [Tue, 27 Jan 2009 16:04:11 +0000 (18:04 +0200)]
Linux: (try to) set close-on-exec in open() system call

This Linux-specific extension fixes the close-on-exec race.

15 years agoRemove redumdant fcntl() calls
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:57:55 +0000 (17:57 +0200)]
Remove redumdant fcntl() calls

15 years agoutf8_open: set the close-on-exec descriptor flag
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:55:34 +0000 (17:55 +0200)]
utf8_open: set the close-on-exec descriptor flag

This departs from utf8_open() being a pure open() + Unicode function.
We should really always set the flag anyway, so lets factor the code.
There is still a tiny race between open() and the second fcntl() system
call, but it cannot quite be fixed within the current POSIX standards.

By the way, the correct way to clear the flag would be _after_ fork(),
but I am not aware of any such case involving utf8_open() in the
current tree.

15 years agovlc_savecancel: missing return value on main thread
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:42:17 +0000 (17:42 +0200)]
vlc_savecancel: missing return value on main thread

We return true to pass killable assertion in vlc_restorecancel()

15 years agovlc_restorecancel: add an assertion
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:43:59 +0000 (17:43 +0200)]
vlc_restorecancel: add an assertion

15 years agoShould fix compilation. Thanks to alienBob for reporting and testing.
Antoine Cellerier [Tue, 27 Jan 2009 13:03:55 +0000 (14:03 +0100)]
Should fix compilation. Thanks to alienBob for reporting and testing.

15 years agoQt: Fix getMRL() and QList<T>::operator[]: "index out of range". Close #2458
Jean-Baptiste Kempf [Tue, 27 Jan 2009 08:54:01 +0000 (09:54 +0100)]
Qt: Fix getMRL() and QList<T>::operator[]: "index out of range". Close #2458

15 years agoFix Win32 build after osdmenu removal.
Jean-Baptiste Kempf [Tue, 27 Jan 2009 08:18:11 +0000 (09:18 +0100)]
Fix Win32 build after osdmenu removal.

Close #2456

15 years agodemux_ts: use var_CreateGet instead of var_Create+var_Get.
Rémi Duraffort [Mon, 26 Jan 2009 22:27:58 +0000 (23:27 +0100)]
demux_ts: use var_CreateGet instead of var_Create+var_Get.

15 years agovar_*Bool return a boolean.
Rémi Duraffort [Mon, 26 Jan 2009 22:06:16 +0000 (23:06 +0100)]
var_*Bool return a boolean.

15 years agoFixed missing vlc_savecancel in globalhotkeys (x11).
Laurent Aimar [Mon, 26 Jan 2009 22:01:03 +0000 (23:01 +0100)]
Fixed missing vlc_savecancel in globalhotkeys (x11).

15 years agohotkeys: fix potential buffer overflows, use var_CreateGetString,
Rémi Duraffort [Mon, 26 Jan 2009 21:52:38 +0000 (22:52 +0100)]
hotkeys: fix potential buffer overflows, use var_CreateGetString,
fix memleaks and use pl_Release.

15 years agocodec_cmml: fix memleaks (and maybe a proble while opening browser under linux).
Rémi Duraffort [Mon, 26 Jan 2009 21:33:00 +0000 (22:33 +0100)]
codec_cmml: fix memleaks (and maybe a proble while opening browser under linux).

15 years agoaccess_http: fix segfault due to unitialised bonjour variable.
Rémi Duraffort [Mon, 26 Jan 2009 21:13:21 +0000 (22:13 +0100)]
access_http: fix segfault due to unitialised bonjour variable.
(the bonjour part is now completely commented out)

15 years agoFixed returned value in osd_FindButton.
Laurent Aimar [Mon, 26 Jan 2009 21:45:07 +0000 (22:45 +0100)]
Fixed returned value in osd_FindButton.

15 years agoFixed compilation warning (missing return value).
Laurent Aimar [Mon, 26 Jan 2009 21:43:55 +0000 (22:43 +0100)]
Fixed compilation warning (missing return value).

15 years agoFixed missing type for b_was_paused.
Laurent Aimar [Mon, 26 Jan 2009 21:42:52 +0000 (22:42 +0100)]
Fixed missing type for b_was_paused.

Isn't there a gcc flag to avoid compiling that ?
 const a = value.

15 years agoRemove traces of wxwidgets.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 21:08:01 +0000 (22:08 +0100)]
Remove traces of wxwidgets.

15 years agoWxWidgets: Bye Bye, I will not miss you.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 21:02:45 +0000 (22:02 +0100)]
WxWidgets: Bye Bye, I will not miss you.

Acked-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
15 years agoXCB: grey scale output support
Rémi Denis-Courmont [Mon, 26 Jan 2009 20:57:29 +0000 (22:57 +0200)]
XCB: grey scale output support

There is a problem with blending GREY on GREY though.
Use `Xephyr -grayscale` to test.

15 years agowxwidget: fix #2444 (I just don't want to leave on stupid bug open)
Rémi Duraffort [Mon, 26 Jan 2009 20:05:10 +0000 (21:05 +0100)]
wxwidget: fix #2444 (I just don't want to leave on stupid bug open)

15 years agoMemory leak (fix #2448)
Rémi Denis-Courmont [Mon, 26 Jan 2009 19:55:36 +0000 (21:55 +0200)]
Memory leak (fix #2448)

N.B.: I hate branching macros for a reason

15 years agoNEWS: add the scaling hotkey to it, since this will remove so many rants on the forum.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:44:38 +0000 (20:44 +0100)]
NEWS: add the scaling hotkey to it, since this will remove so many rants on the forum.

15 years ago10l: Oops.Sorry. Fix build.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:40:42 +0000 (20:40 +0100)]
10l: Oops.Sorry. Fix build.

15 years agoQt: Media menu rewording.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:37:37 +0000 (20:37 +0100)]
Qt: Media menu rewording.

15 years agoDon't change enum orders.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:33:37 +0000 (20:33 +0100)]
Don't change enum orders.

15 years agoQt menus: scaling is accessible through Video Menu.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:26:06 +0000 (20:26 +0100)]
Qt menus: scaling is accessible through Video Menu.

15 years agoQt: open and open advanced for everyone.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:18:40 +0000 (20:18 +0100)]
Qt: open and open advanced for everyone.

15 years agoEnabling scaling activation/deactivation
Joseph Tulou [Mon, 26 Jan 2009 17:12:20 +0000 (18:12 +0100)]
Enabling scaling activation/deactivation

this patch adds a parameter ( --[no]-scaling) and a toggle hotkey ('o')
At fullscreen, it allows displaying a video at original size surrounded by a black screen.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoUpdate myself
Rémi Denis-Courmont [Mon, 26 Jan 2009 19:20:15 +0000 (21:20 +0200)]
Update myself

until we implement whatever we decided regard the authors files

15 years agoembedded snapshot: remove useless comment
Olivier Aubert [Mon, 26 Jan 2009 18:38:17 +0000 (19:38 +0100)]
embedded snapshot: remove useless comment

15 years agoQt: Change open dialog behaviour and layout in most categories.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 18:05:57 +0000 (19:05 +0100)]
Qt: Change open dialog behaviour and layout in most categories.

Internal is now QStringList items and QString options (for the first Item, of course)

    There shouldn't be too many regressions, but testing is welcome

15 years agoUse Live555 'double authorization' for RTSP-over-HTTP
Steven Kramer [Mon, 26 Jan 2009 13:28:19 +0000 (14:28 +0100)]
Use Live555 'double authorization' for RTSP-over-HTTP

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
15 years agoembedded snapshot: use condition variable
Olivier Aubert [Mon, 26 Jan 2009 15:57:48 +0000 (16:57 +0100)]
embedded snapshot: use condition variable

Let's see if this fits courmisch's standards...

15 years agointerface: fix building on MacOS X
Jean-Paul Saman [Mon, 26 Jan 2009 13:24:00 +0000 (14:24 +0100)]
interface: fix building on MacOS X

15 years agoRemove osdmenu configurations minimal and dvd pictures.
Jean-Paul Saman [Sat, 20 Dec 2008 17:02:29 +0000 (18:02 +0100)]
Remove osdmenu configurations minimal and dvd pictures.

Osdmenu 'dvd' configuration is the same as 'default' configuration and 'minimal' is just a simple example. The 'default' configuration is descriptive enough in combination with doxygen comments.

15 years agolibvlc: Fix a (tiny) buffer overflow and fix #2449
Rémi Duraffort [Mon, 26 Jan 2009 15:10:54 +0000 (16:10 +0100)]
libvlc: Fix a (tiny) buffer overflow and fix #2449

15 years agostream_out_rtp: fix potential memleak (#2447)
Rémi Duraffort [Mon, 26 Jan 2009 14:59:55 +0000 (15:59 +0100)]
stream_out_rtp: fix potential memleak (#2447)

15 years agoRewording of some categories of Preferences, avoid "General" as a title and using...
Jean-Baptiste Kempf [Mon, 26 Jan 2009 13:51:05 +0000 (14:51 +0100)]
Rewording of some categories of Preferences, avoid "General" as a title and using "VLC", every other two lines...

15 years agoQt: no need to add an extra "General". This doesn't improve the wording.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 13:13:04 +0000 (14:13 +0100)]
Qt: no need to add an extra "General". This doesn't improve the wording.

15 years agoMkv: kill warnings.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 12:39:18 +0000 (13:39 +0100)]
Mkv: kill warnings.

15 years agoMKV: kill warnings.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 11:58:33 +0000 (12:58 +0100)]
MKV: kill warnings.

15 years agoNEWS: global hotkeys is also for Linux.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 11:25:18 +0000 (12:25 +0100)]
NEWS: global hotkeys is also for Linux.

15 years agoWin32: Fix build.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 11:25:00 +0000 (12:25 +0100)]
Win32: Fix build.

15 years agoplaylist_SaveArt: fix a memleak.
Rémi Duraffort [Mon, 26 Jan 2009 11:17:58 +0000 (12:17 +0100)]
playlist_SaveArt: fix a memleak.

15 years agoMissing vlc_savecancel()
Rémi Denis-Courmont [Sun, 25 Jan 2009 19:01:33 +0000 (21:01 +0200)]
Missing vlc_savecancel()

15 years agoMerge commit 'videolan/master'
Rémi Denis-Courmont [Sun, 25 Jan 2009 18:31:21 +0000 (20:31 +0200)]
Merge commit 'videolan/master'

15 years agoDe-inline vlc_(test|save|restore)cancel, add some assertions
Rémi Denis-Courmont [Sun, 25 Jan 2009 18:30:48 +0000 (20:30 +0200)]
De-inline vlc_(test|save|restore)cancel, add some assertions

15 years agoAutomatically insert globalhotkeys when available.
Laurent Aimar [Sun, 25 Jan 2009 18:23:53 +0000 (19:23 +0100)]
Automatically insert globalhotkeys when available.

15 years agoIgnore X11 errors.
Laurent Aimar [Sun, 25 Jan 2009 18:22:20 +0000 (19:22 +0100)]
Ignore X11 errors.

Grrr a library that does exit on its own !

15 years agoFixed double vlc_restorecancle call.
Laurent Aimar [Sun, 25 Jan 2009 18:03:49 +0000 (19:03 +0100)]
Fixed double vlc_restorecancle call.

Noticed by courmish.

15 years agoAdded x11 global hotkeys support (linux).
Laurent Aimar [Sun, 25 Jan 2009 17:41:36 +0000 (18:41 +0100)]
Added x11 global hotkeys support (linux).

15 years agoMoved global hotkeys to its own directory.
Laurent Aimar [Sun, 25 Jan 2009 17:23:31 +0000 (18:23 +0100)]
Moved global hotkeys to its own directory.

15 years agoXCB: simplify, fix assertion on grayscale displays
Rémi Denis-Courmont [Sun, 25 Jan 2009 17:00:41 +0000 (19:00 +0200)]
XCB: simplify, fix assertion on grayscale displays

(X11 has a similar bug, not to how to fix it)

15 years agoCorrectly unpause the vout for reuse.
Laurent Aimar [Sun, 25 Jan 2009 16:45:06 +0000 (17:45 +0100)]
Correctly unpause the vout for reuse.

It fixes an assert in vout code when a stream was stopped while paused.

15 years agoUse stream_t path instead of access_t one.
Laurent Aimar [Sun, 25 Jan 2009 16:29:37 +0000 (17:29 +0100)]
Use stream_t path instead of access_t one.

15 years agoAdded path information in stream_t.
Laurent Aimar [Sun, 25 Jan 2009 16:09:21 +0000 (17:09 +0100)]
Added path information in stream_t.

15 years agogalaktos: fix a buch of anoying warnings.
Rémi Duraffort [Sun, 25 Jan 2009 14:25:31 +0000 (15:25 +0100)]
galaktos: fix a buch of anoying warnings.

15 years agoqt4: no need for a static_cast to the parent class.
Rémi Duraffort [Sun, 25 Jan 2009 12:40:52 +0000 (13:40 +0100)]
qt4: no need for a static_cast to the parent class.

15 years agoqt4: don't leak the event we compute ourself.
Rémi Duraffort [Sun, 25 Jan 2009 11:58:03 +0000 (12:58 +0100)]
qt4: don't leak the event we compute ourself.

15 years agoskins2: remove totologie.
Rémi Duraffort [Sat, 24 Jan 2009 14:16:01 +0000 (15:16 +0100)]
skins2: remove totologie.

15 years agoskins2: print only one error when the skins can't be loaded.
Rémi Duraffort [Sat, 24 Jan 2009 13:48:39 +0000 (14:48 +0100)]
skins2: print only one error when the skins can't be loaded.

15 years agoXCB: mouse events handling and background color
Rémi Denis-Courmont [Sun, 25 Jan 2009 11:11:27 +0000 (13:11 +0200)]
XCB: mouse events handling and background color

15 years agomouse-clicked is a boolean
Rémi Denis-Courmont [Sun, 25 Jan 2009 10:30:28 +0000 (12:30 +0200)]
mouse-clicked is a boolean

It was created as an integer and set as a boolean...

15 years agoRemove unused vlc_object_wait()
Rémi Denis-Courmont [Sat, 24 Jan 2009 18:42:11 +0000 (20:42 +0200)]
Remove unused vlc_object_wait()

15 years agoUse libvlc_InternalWait
Rémi Denis-Courmont [Sat, 24 Jan 2009 18:23:26 +0000 (20:23 +0200)]
Use libvlc_InternalWait

15 years agoUse libvlc_Quit
Rémi Denis-Courmont [Sat, 24 Jan 2009 18:34:10 +0000 (20:34 +0200)]
Use libvlc_Quit

15 years agolibvlc_InternalWait, libvlc_Quit: wait and signal libvlc exit
Rémi Denis-Courmont [Sat, 24 Jan 2009 18:21:57 +0000 (20:21 +0200)]
libvlc_InternalWait, libvlc_Quit: wait and signal libvlc exit

15 years agoFix warning
Rémi Denis-Courmont [Sat, 24 Jan 2009 18:41:06 +0000 (20:41 +0200)]
Fix warning

15 years agoRemove dead code
Rémi Denis-Courmont [Sat, 24 Jan 2009 18:40:46 +0000 (20:40 +0200)]
Remove dead code

15 years agoRemove bogus vlc_object_wait (no condition to wait on)
Rémi Denis-Courmont [Sat, 24 Jan 2009 18:24:20 +0000 (20:24 +0200)]
Remove bogus vlc_object_wait (no condition to wait on)

N.B.: libvlc snapshots remain seriously broken.
Vout is not locked when shooting. Variables are not safely set.
Vout thread does not access request field safely.
Multiple requests are not safe either. I probably missed some other
issues.

15 years agoFixed embedded art attachment support (close #2416)
Laurent Aimar [Sat, 24 Jan 2009 18:50:49 +0000 (19:50 +0100)]
Fixed embedded art attachment support (close #2416)

15 years agoFixed taglib attachment extraction.
Laurent Aimar [Sat, 24 Jan 2009 18:48:47 +0000 (19:48 +0100)]
Fixed taglib attachment extraction.

C++ is always so much fun ;)

15 years agoFixed art url from meta fetcher.
Laurent Aimar [Sat, 24 Jan 2009 17:41:50 +0000 (18:41 +0100)]
Fixed art url from meta fetcher.

It still does not work because of [2413].

15 years agoRTP: update plugin name
Rémi Denis-Courmont [Sat, 24 Jan 2009 17:55:17 +0000 (19:55 +0200)]
RTP: update plugin name

15 years agoXCB: support for MIT-SHM
Rémi Denis-Courmont [Sat, 24 Jan 2009 16:23:41 +0000 (18:23 +0200)]
XCB: support for MIT-SHM

15 years agoXCB: refactor
Rémi Denis-Courmont [Sat, 24 Jan 2009 16:24:23 +0000 (18:24 +0200)]
XCB: refactor

15 years agoQt: try to fix #2430 (OpenUrl can crash).
Jean-Philippe Andre [Sat, 24 Jan 2009 14:23:42 +0000 (15:23 +0100)]
Qt: try to fix #2430 (OpenUrl can crash).

+ Remove this->
+ Remove toNativeSeparators

15 years agoAllow to select fast seeking with --input-fast-seeking.
Laurent Aimar [Sat, 24 Jan 2009 11:14:10 +0000 (12:14 +0100)]
Allow to select fast seeking with --input-fast-seeking.

No functionnality changes yet as the demuxers need to honor it.

 I have add an extra bool to  DEMUX_SET_POSITION/TIME to ask for precise
seeking to the demuxer.
(You cannot have precision and speed when seeking with non intra only codec).

15 years agoQt: change keep-size to autoresize in order to match the old wx names.
Jean-Baptiste Kempf [Sat, 24 Jan 2009 14:02:00 +0000 (15:02 +0100)]
Qt: change keep-size to autoresize in order to match the old wx names.

15 years agoRemove whitespace after keep-size commit.
Jean-Baptiste Kempf [Sat, 24 Jan 2009 13:35:39 +0000 (14:35 +0100)]
Remove whitespace after keep-size commit.

15 years agoimplements --qt-keep-size (persistent main windows for qt4)
Joseph Tulou [Sat, 24 Jan 2009 11:05:25 +0000 (12:05 +0100)]
implements --qt-keep-size (persistent main windows for qt4)

this patch features :
- persistent resizable main windows
- video confined to preexisting window size

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agofontconfing: join the thread exactly once
Rémi Denis-Courmont [Sat, 24 Jan 2009 13:56:43 +0000 (15:56 +0200)]
fontconfing: join the thread exactly once

The object was typically already killed, so the thread was leaked.
Also, remove vlc_object_kill, since the thread never checks for the
detach of its own object.

15 years agofontconfig: fix unpaired object release
Rémi Denis-Courmont [Sat, 24 Jan 2009 13:56:17 +0000 (15:56 +0200)]
fontconfig: fix unpaired object release

15 years agoskins2: open the right type of playlist (be consistent with qt4).
Rémi Duraffort [Sat, 24 Jan 2009 12:16:31 +0000 (13:16 +0100)]
skins2: open the right type of playlist (be consistent with qt4).

15 years agoskins2: save the playlist also in html.
Rémi Duraffort [Sat, 24 Jan 2009 11:49:05 +0000 (12:49 +0100)]
skins2: save the playlist also in html.

15 years agoqt4: refuse file without extension when saving a playlist.
Rémi Duraffort [Sat, 24 Jan 2009 11:44:25 +0000 (12:44 +0100)]
qt4: refuse file without extension when saving a playlist.

15 years agoskins2: use calloc and NULL at the righ place.
Rémi Duraffort [Sat, 24 Jan 2009 11:20:38 +0000 (12:20 +0100)]
skins2: use calloc and NULL at the righ place.

15 years agoqt4_skins2: fix a crash that occure when using skins2.
Rémi Duraffort [Sat, 24 Jan 2009 11:19:10 +0000 (12:19 +0100)]
qt4_skins2: fix a crash that occure when using skins2.

15 years agox11: compilation warnings.
Rémi Duraffort [Sat, 24 Jan 2009 10:25:35 +0000 (11:25 +0100)]
x11: compilation warnings.

15 years agoOOps. SOrry. 10l
Jean-Baptiste Kempf [Sat, 24 Jan 2009 11:02:51 +0000 (12:02 +0100)]
OOps. SOrry. 10l

15 years agoNEWS about BD
Jean-Baptiste Kempf [Sat, 24 Jan 2009 11:02:36 +0000 (12:02 +0100)]
NEWS about BD

15 years agoX C Bindings video output proof of concept plugin
Rémi Denis-Courmont [Sun, 18 Jan 2009 21:25:14 +0000 (23:25 +0200)]
X C Bindings video output proof of concept plugin

This can really only output iamges at this point.
Critical yet-to-be-implemented features:
 - MIT-SHM shared memory support
 - XVideo hardware scaling & chroma conversion
 - keyboard event handling
 - mouse event handling
 - window (manager) event handling
 - cursor blanking
 - window provider submodule (so it can work without the Qt interface)
 - screen capture access module
 - GLX, perhaps?
 - etc

15, 16 and 24-bits color depth work. 32-bits depth was not tested due
to lack of suitable video adapter. 8-bits depth does not work due to a
bug in VLC chroma handling. B&W, grey and 16 color are not supported,
but are probably not worth it - the Xlib output does not support them
either.

Fullscreen should work, but was not tested.