vlc.git
12 years agoMessage deactivation in Interface due to new API. Not functionnal change but compiles.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 00:09:59 +0000 (02:09 +0200)]
Message deactivation in Interface due to new API. Not functionnal change but compiles.

12 years agoQt4: Controller Rework.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 00:00:55 +0000 (02:00 +0200)]
Qt4: Controller Rework.

Introduction of an abstractController, that can:
- create most of the interface controller widgets
- execute their actions

All buttons connect themselve to a mapper and a doAction( id_action )
that centralize everything. The Action could go into a mainActionner, I guess. Opinions?

This cleans a lot the signal and exchanges between MI and Controller,
between Controller and FSC. The buttons do their own cooking and connect
directly to THEMIM or to some of the few signals of the Controller
(inputExist, inputHasVideo, inputCanRecord)

This reworks most of the HACKS of Teletext Buttons and AtoB Buttons

The FSC inherit from AbstractController and not Controller, which remove the b_fscreation HACK.

There will be some regressions, I tried my best to minimize them.

The code is generic enough to be able to customize the toolbars now. HAVE FUN!

12 years agoQt4: kill an uninitialized warning.
Jean-Baptiste Kempf [Thu, 9 Oct 2008 15:56:45 +0000 (17:56 +0200)]
Qt4: kill an uninitialized warning.

12 years agoFix compilation (my fault).
Rémi Duraffort [Tue, 14 Oct 2008 21:16:51 +0000 (23:16 +0200)]
Fix compilation (my fault).

12 years agoCleaning (don't a message when the system runs out of memory) and fix a potential...
Rémi Duraffort [Tue, 14 Oct 2008 19:16:59 +0000 (21:16 +0200)]
Cleaning (don't a message when the system runs out of memory) and fix a potential segfault.

12 years agoFix message leak
Rémi Denis-Courmont [Tue, 14 Oct 2008 20:52:31 +0000 (23:52 +0300)]
Fix message leak

12 years agoCount message references and get rid of the global message ring buffer
Rémi Denis-Courmont [Tue, 14 Oct 2008 20:35:20 +0000 (23:35 +0300)]
Count message references and get rid of the global message ring buffer

Each susbcriber has its own ring buffer already.

12 years agoCompile fix (not functional)
Rémi Denis-Courmont [Tue, 14 Oct 2008 19:43:45 +0000 (22:43 +0300)]
Compile fix (not functional)

I don't quite understand why Qt4 would subscribe to messages all the
time rather than only when the dialog is on.

12 years agoFixed segfault in libmpeg2 when picture allocation failed.
Laurent Aimar [Tue, 14 Oct 2008 19:00:52 +0000 (21:00 +0200)]
Fixed segfault in libmpeg2 when picture allocation failed.

It should close #2195.

12 years agoRemove uneeded warining (and often impossible to send)
Rémi Duraffort [Tue, 14 Oct 2008 19:01:22 +0000 (21:01 +0200)]
Remove uneeded warining (and often impossible to send)

12 years agoCleaning.
Rémi Duraffort [Tue, 14 Oct 2008 18:43:48 +0000 (20:43 +0200)]
Cleaning.

12 years agonotify/xosd: potential memleaks
Rémi Duraffort [Tue, 14 Oct 2008 18:41:41 +0000 (20:41 +0200)]
notify/xosd: potential memleaks

12 years agoCleaning (potential memleak and uneeded message).
Rémi Duraffort [Tue, 14 Oct 2008 18:38:30 +0000 (20:38 +0200)]
Cleaning (potential memleak and uneeded message).

12 years agoDon't use var_createGet instead of var_create (and remove uneeded goto)
Rémi Duraffort [Tue, 14 Oct 2008 18:32:47 +0000 (20:32 +0200)]
Don't use var_createGet instead of var_create (and remove uneeded goto)

12 years ago(contrib) fix libdvdread-win32.patch
Jean-Paul Saman [Tue, 14 Oct 2008 14:24:46 +0000 (16:24 +0200)]
(contrib) fix libdvdread-win32.patch

12 years ago(win32) Package extras/contrib/*.dll and strip them.
Jean-Paul Saman [Tue, 14 Oct 2008 13:03:01 +0000 (15:03 +0200)]
(win32) Package extras/contrib/*.dll and strip them.

12 years ago(contrib) Building zvbi for windows with dynamic pthreadsGC2 dll
Jean-Paul Saman [Mon, 13 Oct 2008 14:14:23 +0000 (16:14 +0200)]
(contrib) Building zvbi for windows with dynamic pthreadsGC2 dll

12 years ago(win32 nsi) Fix unterminated string.
Jean-Paul Saman [Tue, 14 Oct 2008 13:11:23 +0000 (15:11 +0200)]
(win32 nsi) Fix unterminated string.

12 years ago(contrib) Do not use --std=c99 for ffmpeg on contrib when crosscompiling to win32.
Jean-Paul Saman [Mon, 13 Oct 2008 10:20:41 +0000 (12:20 +0200)]
(contrib) Do not use --std=c99 for ffmpeg on contrib when crosscompiling to win32.

12 years ago(contrib) Fix bug in FFMPEGCONF define and disable bzlib usage by ffmpeg for win32.
Jean-Paul Saman [Mon, 13 Oct 2008 09:32:56 +0000 (11:32 +0200)]
(contrib) Fix bug in FFMPEGCONF define and disable bzlib usage by ffmpeg for win32.

12 years ago(contrib) Use autoreconf after patching Makefile.{am,in} and configure.{ac,in}.
Jean-Paul Saman [Mon, 13 Oct 2008 08:07:29 +0000 (10:07 +0200)]
(contrib) Use autoreconf after patching Makefile.{am,in} and configure.{ac,in}.

12 years agoAdd schroedinger to Fedora contrib and remove some libraries that are available in...
Jean-Paul Saman [Mon, 13 Oct 2008 07:47:15 +0000 (09:47 +0200)]
Add schroedinger to Fedora contrib and remove some libraries that are available in the distro itself.

12 years ago(win32 contrib) Build theora without docs on win32.
Jean-Paul Saman [Mon, 13 Oct 2008 07:46:20 +0000 (09:46 +0200)]
(win32 contrib) Build theora without docs on win32.

12 years agoDon't start the file logger when syslog is specified.
Jean-Paul Saman [Mon, 6 Oct 2008 14:21:40 +0000 (16:21 +0200)]
Don't start the file logger when syslog is specified.

If --syslog is specified on the commandline then vlc loads the logger in file mode first, because --file-logging is the default. This is counter intuitive for users, they expect *only* syslog mode to be active. Note that the logger module can only have one mode active at the sametime, either html, text or syslog.

12 years agocheck for fcntl()
Geoffroy Couprie [Tue, 14 Oct 2008 10:06:05 +0000 (12:06 +0200)]
check for fcntl()

win32 has a fcntl header but no fcntl function

12 years agoWinCE: can't duplicate a thread handle
Geoffroy Couprie [Sun, 12 Oct 2008 15:52:09 +0000 (17:52 +0200)]
WinCE: can't duplicate a thread handle

12 years agoWinCE intf: use existing vlc functions
Geoffroy Couprie [Sun, 12 Oct 2008 15:42:31 +0000 (17:42 +0200)]
WinCE intf: use existing vlc functions

12 years agoWinCE intf: get rid of VLC_OBJECT_MODULE
Geoffroy Couprie [Sat, 11 Oct 2008 17:03:22 +0000 (19:03 +0200)]
WinCE intf: get rid of VLC_OBJECT_MODULE

12 years agoWinCE intf: get rid of i_object_id
Geoffroy Couprie [Sat, 11 Oct 2008 15:04:59 +0000 (17:04 +0200)]
WinCE intf: get rid of i_object_id

12 years agoWinCE: fix function declaration
Geoffroy Couprie [Fri, 10 Oct 2008 09:37:40 +0000 (11:37 +0200)]
WinCE: fix function declaration

12 years agoWinCE: build dump and timeshift modules
Geoffroy Couprie [Fri, 10 Oct 2008 09:37:00 +0000 (11:37 +0200)]
WinCE: build dump and timeshift modules

12 years agoWinCE: get rid of program startup mess
Geoffroy Couprie [Fri, 10 Oct 2008 09:35:55 +0000 (11:35 +0200)]
WinCE: get rid of program startup mess

12 years agoWinCE: macro fix in panoramix module
Geoffroy Couprie [Fri, 10 Oct 2008 09:34:50 +0000 (11:34 +0200)]
WinCE: macro fix in panoramix module

12 years agoWinCE: header fix
Geoffroy Couprie [Fri, 10 Oct 2008 09:33:45 +0000 (11:33 +0200)]
WinCE: header fix

12 years agoCosmetics.
Laurent Aimar [Mon, 13 Oct 2008 18:35:27 +0000 (20:35 +0200)]
Cosmetics.

12 years agoCosmetics.
Laurent Aimar [Mon, 13 Oct 2008 18:31:32 +0000 (20:31 +0200)]
Cosmetics.

12 years agoMoved stream_Access* to stream.h
Laurent Aimar [Mon, 13 Oct 2008 18:27:36 +0000 (20:27 +0200)]
Moved stream_Access* to stream.h

12 years agoSanitize input headers (pass 4).
Laurent Aimar [Mon, 13 Oct 2008 18:20:54 +0000 (20:20 +0200)]
Sanitize input headers (pass 4).

12 years agoSanitize input headers (pass 3).
Laurent Aimar [Mon, 13 Oct 2008 18:10:03 +0000 (20:10 +0200)]
Sanitize input headers (pass 3).

12 years agoSanitize input headers (pass 2).
Laurent Aimar [Mon, 13 Oct 2008 17:57:51 +0000 (19:57 +0200)]
Sanitize input headers (pass 2).

12 years agoSanitize input headers (pass 1).
Laurent Aimar [Mon, 13 Oct 2008 17:52:33 +0000 (19:52 +0200)]
Sanitize input headers (pass 1).

12 years agoDecomp: catch 0 write
Rémi Denis-Courmont [Mon, 13 Oct 2008 16:00:31 +0000 (19:00 +0300)]
Decomp: catch 0 write

12 years agofile: Fix compilation on Windows.
Derk-Jan Hartman [Mon, 13 Oct 2008 02:25:16 +0000 (04:25 +0200)]
file: Fix compilation on Windows.

12 years agocontrib: binary contrib uploaded for ppc as well
Derk-Jan Hartman [Mon, 13 Oct 2008 01:51:41 +0000 (03:51 +0200)]
contrib: binary contrib uploaded for ppc as well

12 years agocontrib: binary revision raised to 3 now.
Derk-Jan Hartman [Sun, 12 Oct 2008 22:56:23 +0000 (00:56 +0200)]
contrib: binary revision raised to 3 now.

12 years agocontrib: add gecko-sdk to mac contrib binary package
Derk-Jan Hartman [Sun, 12 Oct 2008 22:45:30 +0000 (00:45 +0200)]
contrib: add gecko-sdk to mac contrib binary package

12 years agocontrib: Fix change_prefix when used on binaries != libraries
Derk-Jan Hartman [Sun, 12 Oct 2008 22:43:32 +0000 (00:43 +0200)]
contrib: Fix change_prefix when used on binaries != libraries

12 years agodirectory: Add XSPF node-extension support to our directory module.
Derk-Jan Hartman [Sun, 12 Oct 2008 21:09:18 +0000 (23:09 +0200)]
directory: Add XSPF node-extension support to our directory module.

12 years agodirectory: close fd before return
Derk-Jan Hartman [Sun, 12 Oct 2008 13:18:19 +0000 (15:18 +0200)]
directory: close fd before return

12 years agoPort the libvlc log APIs to the new internal messages API
Rémi Denis-Courmont [Sun, 12 Oct 2008 19:43:30 +0000 (22:43 +0300)]
Port the libvlc log APIs to the new internal messages API

Note that this API seems broken beyond repair to me.
It *might* crash. I cannot fix it.

12 years agologger: use new message API - fixes #1975
Rémi Denis-Courmont [Sun, 12 Oct 2008 19:41:13 +0000 (22:41 +0300)]
logger: use new message API - fixes #1975

12 years agoSanitize/rewrite the message subscription API
Rémi Denis-Courmont [Sun, 12 Oct 2008 18:00:46 +0000 (21:00 +0300)]
Sanitize/rewrite the message subscription API

12 years agoFix unitialized value
Rémi Denis-Courmont [Sun, 12 Oct 2008 18:50:35 +0000 (21:50 +0300)]
Fix unitialized value

12 years agoInvent unique pointer values properly
Rémi Denis-Courmont [Sun, 12 Oct 2008 16:43:31 +0000 (19:43 +0300)]
Invent unique pointer values properly

12 years agologger: don't reinvent stdio, kill a few relocations
Rémi Denis-Courmont [Sun, 12 Oct 2008 16:25:06 +0000 (19:25 +0300)]
logger: don't reinvent stdio, kill a few relocations

12 years agologger: fix file leak
Rémi Denis-Courmont [Sun, 12 Oct 2008 16:24:13 +0000 (19:24 +0300)]
logger: fix file leak

12 years agoRemove dead functions
Rémi Denis-Courmont [Sun, 12 Oct 2008 16:12:09 +0000 (19:12 +0300)]
Remove dead functions

12 years agoUnused variable
Rémi Denis-Courmont [Sun, 12 Oct 2008 16:07:08 +0000 (19:07 +0300)]
Unused variable

12 years agoRemove cut&paste crap
Rémi Denis-Courmont [Sun, 12 Oct 2008 14:30:30 +0000 (17:30 +0300)]
Remove cut&paste crap

12 years agoRun RRD in its own thread
Rémi Denis-Courmont [Sun, 12 Oct 2008 14:28:38 +0000 (17:28 +0300)]
Run RRD in its own thread

12 years agoCosmetic
Rémi Denis-Courmont [Sun, 12 Oct 2008 14:28:30 +0000 (17:28 +0300)]
Cosmetic

12 years agoUse setvbuf instead of repeated fflush
Rémi Denis-Courmont [Sun, 12 Oct 2008 14:13:10 +0000 (17:13 +0300)]
Use setvbuf instead of repeated fflush

12 years agoFix format - intmax != int64
Rémi Denis-Courmont [Sun, 12 Oct 2008 14:10:19 +0000 (17:10 +0300)]
Fix format - intmax != int64

12 years agoCosmetic
Rémi Denis-Courmont [Sun, 12 Oct 2008 13:57:31 +0000 (16:57 +0300)]
Cosmetic

12 years agoMerge msg bank and queue, remove duplicated lock
Rémi Denis-Courmont [Sun, 12 Oct 2008 13:56:43 +0000 (16:56 +0300)]
Merge msg bank and queue, remove duplicated lock

12 years agorevert changes regarding x11 vout from commit 8689e8be211fe01376316a99fefb8c908263f97e
Ilkka Ollakka [Sun, 12 Oct 2008 12:31:52 +0000 (15:31 +0300)]
revert changes regarding x11 vout from commit 8689e8be211fe01376316a99fefb8c908263f97e

This partly reverts commit 8689e8be211fe01376316a99fefb8c908263f97e.
Didn't meant to include this change in commit.

12 years agonet_Write: fix polling
Rémi Denis-Courmont [Sun, 12 Oct 2008 12:26:18 +0000 (15:26 +0300)]
net_Write: fix polling

12 years agostats-change variable for statistics/removing stats timer from qt4 interface
Ilkka Ollakka [Sun, 12 Oct 2008 11:48:26 +0000 (14:48 +0300)]
stats-change variable for statistics/removing stats timer from qt4 interface

- Add stats-change variable for input to inform when statistics are computed
- Use that variable in qt4 interface to update statistics so no need to loop
  with timer ( ticket #1365)

12 years agonet_Read, net_Write use void pointer for data
Rémi Denis-Courmont [Sun, 12 Oct 2008 12:05:59 +0000 (15:05 +0300)]
net_Read, net_Write use void pointer for data

12 years agoDisable mmap by default (works around #2188)
Rémi Denis-Courmont [Sun, 12 Oct 2008 11:10:58 +0000 (14:10 +0300)]
Disable mmap by default (works around #2188)

12 years agoFix NULL deref (CID#237)
Rémi Denis-Courmont [Sun, 12 Oct 2008 08:25:40 +0000 (11:25 +0300)]
Fix NULL deref (CID#237)

12 years agoCleanup MRLParse
Rémi Denis-Courmont [Sun, 12 Oct 2008 08:22:23 +0000 (11:22 +0300)]
Cleanup MRLParse

12 years agoFix crash from 36e833c3
Rémi Denis-Courmont [Sun, 12 Oct 2008 08:21:05 +0000 (11:21 +0300)]
Fix crash from 36e833c3

12 years agoMemory leak (CID#266)
Rémi Denis-Courmont [Sun, 12 Oct 2008 08:07:51 +0000 (11:07 +0300)]
Memory leak (CID#266)

12 years agoDecomp: vmsplice support
Rémi Denis-Courmont [Sat, 11 Oct 2008 17:34:41 +0000 (20:34 +0300)]
Decomp: vmsplice support

12 years agoTypos
Rémi Denis-Courmont [Sat, 11 Oct 2008 17:23:54 +0000 (20:23 +0300)]
Typos

12 years agoSet close-on-exec file for file inputs
Rémi Denis-Courmont [Sat, 11 Oct 2008 17:11:08 +0000 (20:11 +0300)]
Set close-on-exec file for file inputs

We don't want to leak descriptors to child PROCESSES (!= threads) such
as the pseudo-CGI interface. The socket wrappers ahve already been doing
that for a while. Unfortunately, there are still many "leaks", through
underlying libraries, opendir(), fopen(), etc. And then, this is not
thread-safe (we leak if another thread calls fork() between open() and
fcntl()). This is a well-known limitation in POSIX anyway.

12 years agoDecomp: partially fix error handling
Rémi Denis-Courmont [Sat, 11 Oct 2008 17:07:01 +0000 (20:07 +0300)]
Decomp: partially fix error handling

12 years agoDecompression demuxer. Supports gzip and bzip2 at this point.
Rémi Denis-Courmont [Sat, 11 Oct 2008 15:16:29 +0000 (18:16 +0300)]
Decompression demuxer. Supports gzip and bzip2 at this point.

There seems to be pretty awful bugs in stream_Demux or input or
something though. Sometimes, the input is killed almost immediately.
Other times (e.g. when trying to STOP), Close() never gets called.

12 years agoAllow unspecified demux with stream_DemuxNew().
Rémi Denis-Courmont [Sat, 11 Oct 2008 15:18:12 +0000 (18:18 +0300)]
Allow unspecified demux with stream_DemuxNew().

12 years agoFix crash
Rémi Denis-Courmont [Sat, 11 Oct 2008 14:44:10 +0000 (17:44 +0300)]
Fix crash

12 years agolibvlc: better title/chapter handling
Lukas Durfina [Sat, 4 Oct 2008 20:00:52 +0000 (22:00 +0200)]
libvlc: better title/chapter handling

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
12 years agoty demux: simplify and fix potential memleak (CID 214)
Derk-Jan Hartman [Sat, 11 Oct 2008 02:57:19 +0000 (04:57 +0200)]
ty demux: simplify and fix potential memleak (CID 214)

12 years agocontrib: Fix dvdread patch
Derk-Jan Hartman [Sat, 11 Oct 2008 02:44:52 +0000 (04:44 +0200)]
contrib: Fix dvdread patch

12 years agovobsub: Resource leak (CID 215)
Derk-Jan Hartman [Sat, 11 Oct 2008 02:31:01 +0000 (04:31 +0200)]
vobsub: Resource leak (CID 215)

12 years agoFix potential static array overflow (CID 40 and 192)
Derk-Jan Hartman [Fri, 10 Oct 2008 21:39:11 +0000 (23:39 +0200)]
Fix potential static array overflow (CID 40 and 192)

12 years agoFix potential segfault and move code (CID 178)
Rémi Duraffort [Fri, 10 Oct 2008 21:36:12 +0000 (23:36 +0200)]
Fix potential segfault and move code (CID 178)

12 years agoThis case can't happen so assert.
Rémi Duraffort [Fri, 10 Oct 2008 21:29:30 +0000 (23:29 +0200)]
This case can't happen so assert.

12 years agoClarification (the last case can't happend) (CID 174)
Rémi Duraffort [Fri, 10 Oct 2008 21:14:51 +0000 (23:14 +0200)]
Clarification (the last case can't happend) (CID 174)

12 years agoFIx potential segfault (CID 168)
Rémi Duraffort [Fri, 10 Oct 2008 21:06:09 +0000 (23:06 +0200)]
FIx potential segfault (CID 168)

12 years agoFix potential segfault (CID 158)
Rémi Duraffort [Fri, 10 Oct 2008 20:54:45 +0000 (22:54 +0200)]
Fix potential segfault (CID 158)

12 years agoFix potential segfault (CID 252)
Rémi Duraffort [Fri, 10 Oct 2008 20:49:36 +0000 (22:49 +0200)]
Fix potential segfault (CID 252)

12 years agoPlaylist: Simplification and fix CID 151
Rémi Duraffort [Fri, 10 Oct 2008 20:43:36 +0000 (22:43 +0200)]
Playlist: Simplification and fix CID 151

12 years agoRemove unused variable.
Rémi Duraffort [Fri, 10 Oct 2008 20:12:53 +0000 (22:12 +0200)]
Remove unused variable.

12 years agoRemove stupid test before a free.
Rémi Duraffort [Fri, 10 Oct 2008 20:07:14 +0000 (22:07 +0200)]
Remove stupid test before a free.

12 years agoFix potential buffer overflow (CID 191)
Rémi Duraffort [Fri, 10 Oct 2008 19:41:54 +0000 (21:41 +0200)]
Fix potential buffer overflow (CID 191)

12 years agoDon't dereference strrchr without check (CID 185)
Rémi Duraffort [Fri, 10 Oct 2008 19:27:43 +0000 (21:27 +0200)]
Don't dereference strrchr without check (CID 185)

12 years agoFixed invalid/useless usage of ES_OUT_RESET_PCR.
Laurent Aimar [Fri, 10 Oct 2008 19:24:32 +0000 (21:24 +0200)]
Fixed invalid/useless usage of ES_OUT_RESET_PCR.

12 years agoChange ES_OUT_SET_NEXT_DISPLAY_TIME parameters.
Laurent Aimar [Fri, 10 Oct 2008 19:05:38 +0000 (21:05 +0200)]
Change ES_OUT_SET_NEXT_DISPLAY_TIME parameters.

It is cleaner but break the ABI.

12 years agoPartially fixed preroll support.
Laurent Aimar [Fri, 10 Oct 2008 18:39:24 +0000 (20:39 +0200)]
Partially fixed preroll support.