vlc.git
11 years agoFix uninitialized variables (CID 242)
Jean-Baptiste Kempf [Wed, 1 Oct 2008 18:29:57 +0000 (11:29 -0700)]
Fix uninitialized variables (CID 242)

11 years agoFix "use after a free" (to be honnest that's more a segfault here) (CID 243)
Rémi Duraffort [Wed, 1 Oct 2008 18:11:56 +0000 (20:11 +0200)]
Fix "use after a free" (to be honnest that's more a segfault here) (CID 243)

11 years agoFix "Use after free" (CID 248)
Rémi Duraffort [Wed, 1 Oct 2008 18:01:12 +0000 (20:01 +0200)]
Fix "Use after free" (CID 248)

11 years agoProtect against bad use after a vlc_dictionary_clear.
Rémi Duraffort [Sun, 28 Sep 2008 13:56:21 +0000 (15:56 +0200)]
Protect against bad use after a vlc_dictionary_clear.

11 years agoWinCE: missing threading functions
Geoffroy Couprie [Wed, 1 Oct 2008 13:28:04 +0000 (15:28 +0200)]
WinCE: missing threading functions

11 years agoRemove useless test. At that point, p_sys is not NULL
Jean-Baptiste Kempf [Wed, 1 Oct 2008 08:13:25 +0000 (01:13 -0700)]
Remove useless test. At that point, p_sys is not NULL

11 years agoWin32 Vout: set fullscreen back before quitting Vout.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 08:01:38 +0000 (01:01 -0700)]
Win32 Vout: set fullscreen back before quitting Vout.

This fix the big bug of disappearing of the interface in embedded mode.
(cherry picked from commit 29e96eaed0b0d38b5d812b6717f1429739ee8c3b)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoWin32 Vout: try to correctly set fullscreen mode under winCE and win32.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 03:57:28 +0000 (20:57 -0700)]
Win32 Vout: try to correctly set fullscreen mode under winCE and win32.

11 years agoQt4: correctly show the stats.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 03:31:15 +0000 (20:31 -0700)]
Qt4: correctly show the stats.
(cherry picked from commit 95c173411393f6cae467ab6c4f0e708c443bf5a5)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoQt4: Deactivate FPS showing, since it doesn't work.
Jean-Baptiste Kempf [Tue, 23 Sep 2008 23:03:56 +0000 (16:03 -0700)]
Qt4: Deactivate FPS showing, since it doesn't work.
(cherry picked from commit cecdd2aa20dc1429741ecef1afe7adc3d1300090)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoTypo.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 03:16:16 +0000 (20:16 -0700)]
Typo.

11 years agoQt4: Playlist fixes.
Jean-Baptiste Kempf [Mon, 29 Sep 2008 18:33:57 +0000 (11:33 -0700)]
Qt4: Playlist fixes.
(cherry picked from commit 6b67205f13b3f8ce5a3c860b63a95f3bccf8d934)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoCompilation fix for win32.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 01:13:09 +0000 (18:13 -0700)]
Compilation fix for win32.

11 years agoFortunes update
Pavlov Konstantin [Tue, 30 Sep 2008 21:05:48 +0000 (01:05 +0400)]
Fortunes update

11 years agoFixed too restrictive assert in decoder.
Laurent Aimar [Tue, 30 Sep 2008 20:57:21 +0000 (22:57 +0200)]
Fixed too restrictive assert in decoder.

11 years agoFixed a lot of potential segfaults on invalid vobsub index.
Laurent Aimar [Tue, 30 Sep 2008 20:21:24 +0000 (22:21 +0200)]
Fixed a lot of potential segfaults on invalid vobsub index.

11 years agoLet decoder handle the audio/spu delay.
Laurent Aimar [Mon, 29 Sep 2008 22:23:02 +0000 (00:23 +0200)]
Let decoder handle the audio/spu delay.

It is more reactive and let decoder do proper late/early checks.

11 years agoAdded aout pause support.
Laurent Aimar [Mon, 29 Sep 2008 21:44:46 +0000 (23:44 +0200)]
Added aout pause support.

This does not work well. It seems that a high level of audio is buffered
inside aout after the input fifo (mixer or output one).

11 years agoMoved a few vout tests+statistics to decoder.
Laurent Aimar [Mon, 29 Sep 2008 20:57:14 +0000 (22:57 +0200)]
Moved a few vout tests+statistics to decoder.

It allows removing partially a ugly input dependency in vout as well as
finer control at decoder side.

11 years agoMoved a few aout tests+statistics to decoder.
Laurent Aimar [Mon, 29 Sep 2008 20:29:16 +0000 (22:29 +0200)]
Moved a few aout tests+statistics to decoder.

It allows removing an ugly input dependency in aout as well as finer control
at decoder side.

11 years agoUse audio desync as initial audio-delay value.
Laurent Aimar [Mon, 29 Sep 2008 18:52:32 +0000 (20:52 +0200)]
Use audio desync as initial audio-delay value.

11 years agoAdded dump alias module to dummy decoder.
Laurent Aimar [Sun, 28 Sep 2008 14:57:04 +0000 (16:57 +0200)]
Added dump alias module to dummy decoder.

It allows replacing --codec dummy --dummy-save-es by --codec dump.

11 years agoProtect a bit against invalid pcr.
Laurent Aimar [Sun, 28 Sep 2008 14:24:23 +0000 (16:24 +0200)]
Protect a bit against invalid pcr.

11 years agoProtect against broken subpicture size.
Laurent Aimar [Sun, 28 Sep 2008 13:49:25 +0000 (15:49 +0200)]
Protect against broken subpicture size.

11 years agoFixed potential race condition on vout release in decoder.
Laurent Aimar [Sun, 28 Sep 2008 13:39:07 +0000 (15:39 +0200)]
Fixed potential race condition on vout release in decoder.

11 years agoFixed sout #display.
Laurent Aimar [Sun, 28 Sep 2008 13:36:29 +0000 (15:36 +0200)]
Fixed sout #display.

11 years agoDe-inline playlist_Signal
Rémi Denis-Courmont [Tue, 30 Sep 2008 20:05:08 +0000 (23:05 +0300)]
De-inline playlist_Signal

11 years agoDo not stat directories on Windows
Rémi Denis-Courmont [Tue, 30 Sep 2008 20:08:34 +0000 (23:08 +0300)]
Do not stat directories on Windows

For lack of a better solution, I assume that Windows has a finite
paths length limit to prevent infinite recursion. Otherwise we need
dirfd() and unique inodes.

11 years agomacosx: Add a link to the playlistitem menu to retrieve Cover Art.
Derk-Jan Hartman [Tue, 30 Sep 2008 19:36:01 +0000 (21:36 +0200)]
macosx: Add a link to the playlistitem menu to retrieve Cover Art.

Forward port: [1a5a6b89692f2e6761b6ecd9ae9ee6e50b6e4138]

11 years agomacosx: Remove spurious call.
Derk-Jan Hartman [Tue, 30 Sep 2008 17:17:00 +0000 (19:17 +0200)]
macosx: Remove spurious call.
(cherry picked from commit b0438df5b9a5a7976be069ec173bb2077f97fd58)

11 years agomacosx: Initially expand the primary Playlist node.
Derk-Jan Hartman [Tue, 30 Sep 2008 17:11:34 +0000 (19:11 +0200)]
macosx: Initially expand the primary Playlist node.
(cherry picked from commit 31a711e42ea80553aca57626903cdd822c8c1bea)

11 years agoFix linking
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:42:54 +0000 (18:42 +0300)]
Fix linking

11 years agoUnexport vlc_object_waitpipe
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:40:56 +0000 (18:40 +0300)]
Unexport vlc_object_waitpipe

11 years agoCode factorization
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:39:26 +0000 (18:39 +0300)]
Code factorization

11 years agoWork around dirfd compilation breakage
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:33:32 +0000 (18:33 +0300)]
Work around dirfd compilation breakage

(Not that I expect this to work at run-time)

11 years agomacosx: move the embeddedvout controls slightly to the right
Derk-Jan Hartman [Tue, 30 Sep 2008 13:23:12 +0000 (15:23 +0200)]
macosx: move the embeddedvout controls slightly to the right

forwardport [9439810ba6758c6ea1d306186a1dcf6e03f219e6]

11 years agomacosx: when saving updates, only allow for a dir to be selected.
Derk-Jan Hartman [Tue, 30 Sep 2008 12:56:00 +0000 (14:56 +0200)]
macosx: when saving updates, only allow for a dir to be selected.

The core currently cannot handle a target name

11 years agomacosx: The vlc update API can only handle a destination directory.
Derk-Jan Hartman [Tue, 30 Sep 2008 12:44:34 +0000 (14:44 +0200)]
macosx: The vlc update API can only handle a destination directory.

We now account for this and use an "OpenPanel" instead of a "SavePanel".

11 years agoWinCE: more missing functions fixes
Geoffroy Couprie [Tue, 30 Sep 2008 11:28:03 +0000 (13:28 +0200)]
WinCE: more missing functions fixes

11 years agoMerge branch 'master' of git://git.videolan.org/vlc
Geoffroy Couprie [Tue, 30 Sep 2008 10:08:41 +0000 (12:08 +0200)]
Merge branch 'master' of git://git.videolan.org/vlc

11 years agoWinCE: fix missing functions
Geoffroy Couprie [Tue, 30 Sep 2008 10:05:21 +0000 (12:05 +0200)]
WinCE: fix missing functions

11 years agoFix CID 207. (Resource leak)
Antoine Cellerier [Tue, 30 Sep 2008 10:04:26 +0000 (12:04 +0200)]
Fix CID 207. (Resource leak)

11 years agoDisconnect before trying with authentication
Ilkka Ollakka [Mon, 29 Sep 2008 14:02:28 +0000 (17:02 +0300)]
Disconnect before trying with authentication

Disconnects http-connection before trying with authentication info.
This enables to use http-authentication sources without leaking fds

Kinda work-around

11 years agoFix make dist
Christophe Mutricy [Mon, 29 Sep 2008 19:40:28 +0000 (20:40 +0100)]
Fix make dist

11 years agoRemove IS_WINNT macro
Geoffroy Couprie [Mon, 29 Sep 2008 18:39:52 +0000 (20:39 +0200)]
Remove IS_WINNT macro

11 years agoWinCE: cleaning my header inclusion mess
Geoffroy Couprie [Mon, 29 Sep 2008 16:52:20 +0000 (18:52 +0200)]
WinCE: cleaning my header inclusion mess

11 years agoWinCE: check for winsock2.h instead of winsock.h
Geoffroy Couprie [Mon, 29 Sep 2008 16:50:45 +0000 (18:50 +0200)]
WinCE: check for winsock2.h instead of winsock.h

11 years agoFormat string fixes
Rémi Denis-Courmont [Sun, 28 Sep 2008 18:58:49 +0000 (21:58 +0300)]
Format string fixes

11 years agoRemove VLC_OBJECT_LIBVLC
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:51:36 +0000 (20:51 +0300)]
Remove VLC_OBJECT_LIBVLC

11 years agoRemove p_root hacks
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:47:23 +0000 (20:47 +0300)]
Remove p_root hacks

11 years agoGet rid of p_root object
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:45:19 +0000 (20:45 +0300)]
Get rid of p_root object

11 years agoRemove vlc_global()
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:33:54 +0000 (20:33 +0300)]
Remove vlc_global()

11 years agoDead #defines
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:29:06 +0000 (20:29 +0300)]
Dead #defines

11 years agoMove psz_vlcpath out of p_root
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:18:01 +0000 (20:18 +0300)]
Move psz_vlcpath out of p_root

11 years agoPer-instance structure lock
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:10:39 +0000 (20:10 +0300)]
Per-instance structure lock

11 years agolibmpeg2: compile fix
Derk-Jan Hartman [Sun, 28 Sep 2008 16:15:48 +0000 (18:15 +0200)]
libmpeg2: compile fix

11 years agolibmpeg2: user MPEG2 coding type defines when matching to mpeg2 flags.
Derk-Jan Hartman [Sun, 28 Sep 2008 15:36:32 +0000 (17:36 +0200)]
libmpeg2: user MPEG2 coding type defines when matching to mpeg2 flags.

Though the values are the same, this is cleaner, and more 'future' proof

11 years agoFail permanently on fatal file I/O error
Rémi Denis-Courmont [Sun, 28 Sep 2008 15:45:59 +0000 (18:45 +0300)]
Fail permanently on fatal file I/O error

This fixes a busy loop.

11 years agoRemove VLC_OBJECT_OPENGL
Rémi Denis-Courmont [Sun, 28 Sep 2008 15:32:53 +0000 (18:32 +0300)]
Remove VLC_OBJECT_OPENGL

11 years agoVLC_OBJECT_OPENGL: nobody uses _find on this, useless
Rémi Denis-Courmont [Sun, 28 Sep 2008 15:23:36 +0000 (18:23 +0300)]
VLC_OBJECT_OPENGL: nobody uses _find on this, useless

11 years agolibmpeg2: Enable CC parsing for libmpeg2 >= 5.0.0
Derk-Jan Hartman [Sun, 28 Sep 2008 15:24:11 +0000 (17:24 +0200)]
libmpeg2: Enable CC parsing for libmpeg2 >= 5.0.0

11 years agoplaylist: i_last_playlist_id is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 15:02:06 +0000 (17:02 +0200)]
playlist: i_last_playlist_id is private.

11 years agoplaylist: b_reset_currently_playing is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 15:00:30 +0000 (17:00 +0200)]
playlist: b_reset_currently_playing is private.

11 years agoqt4: b_reset_currently_playing should not be used here.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:53:40 +0000 (16:53 +0200)]
qt4: b_reset_currently_playing should not be used here.

11 years agoplaylist: last_rebuild_date is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:50:42 +0000 (16:50 +0200)]
playlist: last_rebuild_date is private.

11 years agoplaylist: i_sort and i_order are not used. removed.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:49:12 +0000 (16:49 +0200)]
playlist: i_sort and i_order are not used. removed.

11 years agoplaylist: gc_date is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:45:51 +0000 (16:45 +0200)]
playlist: gc_date is private.

11 years agoplaylist: b_cant_sleep is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:44:17 +0000 (16:44 +0200)]
playlist: b_cant_sleep is private.

11 years agoplaylist: b_auto_preparse is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:42:05 +0000 (16:42 +0200)]
playlist: b_auto_preparse is private.

11 years agoplaylist: b_doing_ml doing ml is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:39:25 +0000 (16:39 +0200)]
playlist: b_doing_ml doing ml is private.

11 years agoplaylist: b_tree is private.
Pierre d'Herbemont [Sun, 28 Sep 2008 14:36:01 +0000 (16:36 +0200)]
playlist: b_tree is private.

11 years agoSpu pause support.
Laurent Aimar [Sun, 28 Sep 2008 13:03:51 +0000 (15:03 +0200)]
Spu pause support.

Now SSA subtitle pause is working even with karaoke.

11 years agoDo not add subdirectories entries
Rémi Denis-Courmont [Sun, 28 Sep 2008 12:38:56 +0000 (15:38 +0300)]
Do not add subdirectories entries

Otherwise we'll collapse and expand the same directory over and over.

11 years agoForce a few access control values.
Laurent Aimar [Sun, 28 Sep 2008 11:54:33 +0000 (13:54 +0200)]
Force a few access control values.

It will avoid ABI breakage for aesthetics reasons.

11 years agoFixed a too restrictive assert on vout pause.
Laurent Aimar [Sun, 28 Sep 2008 11:43:28 +0000 (13:43 +0200)]
Fixed a too restrictive assert on vout pause.

11 years agotypo
Rémi Denis-Courmont [Sun, 28 Sep 2008 08:29:26 +0000 (11:29 +0300)]
typo

11 years agoRTP: use the right frequency for jitter computation
Rémi Denis-Courmont [Sun, 28 Sep 2008 08:20:56 +0000 (11:20 +0300)]
RTP: use the right frequency for jitter computation

11 years agovlc_assert_locked is private
Rémi Denis-Courmont [Sat, 27 Sep 2008 21:06:47 +0000 (00:06 +0300)]
vlc_assert_locked is private

11 years agoPause vout on decoder pause.
Laurent Aimar [Sun, 28 Sep 2008 11:05:09 +0000 (13:05 +0200)]
Pause vout on decoder pause.

This provides a pause with a maximal latency of one call
to pf_demux from the demuxer.

11 years agoPrivatized part of vout fields.
Laurent Aimar [Sun, 28 Sep 2008 08:21:00 +0000 (10:21 +0200)]
Privatized part of vout fields.

11 years agoThe input now pauses the decoders.
Laurent Aimar [Sun, 28 Sep 2008 06:59:48 +0000 (08:59 +0200)]
The input now pauses the decoders.

This allows a more reactive pause (independant of *-caching value). It is
not yet instantaneous as vout/aout still play their buffer.

11 years agoAdded vout_internal.h.
Laurent Aimar [Sun, 28 Sep 2008 06:59:04 +0000 (08:59 +0200)]
Added vout_internal.h.

11 years agoInclude input_clock.h only where needed.
Laurent Aimar [Sat, 27 Sep 2008 23:01:53 +0000 (01:01 +0200)]
Include input_clock.h only where needed.

11 years agoMoved input decoder declaration to input/input_decoder.h
Laurent Aimar [Sat, 27 Sep 2008 22:52:59 +0000 (00:52 +0200)]
Moved input decoder declaration to input/input_decoder.h

11 years agoNo functionnal changes (decoder).
Laurent Aimar [Sat, 27 Sep 2008 22:14:28 +0000 (00:14 +0200)]
No functionnal changes (decoder).

11 years agoSupport for no clock in decoder (sout display).
Laurent Aimar [Sat, 27 Sep 2008 22:04:46 +0000 (00:04 +0200)]
Support for no clock in decoder (sout display).

11 years agoConvert stream to system timestamp after the decoder.
Laurent Aimar [Sat, 27 Sep 2008 21:59:11 +0000 (23:59 +0200)]
Convert stream to system timestamp after the decoder.

- This is needed for proper seek/pause/fast forward/...
- The decoder/packetizer do not need to scale packet length anymore as the
decoder thread do it.

11 years agoGive input_DecoderNew the clock used.
Laurent Aimar [Sat, 27 Sep 2008 19:32:57 +0000 (21:32 +0200)]
Give input_DecoderNew the clock used.

No functionnal changes yet.

11 years agoProtect input_clock_GetTS from concurrent access.
Laurent Aimar [Sat, 27 Sep 2008 14:27:48 +0000 (16:27 +0200)]
Protect input_clock_GetTS from concurrent access.

11 years agoMoved clock master flag to es_out.
Laurent Aimar [Sat, 27 Sep 2008 14:19:51 +0000 (16:19 +0200)]
Moved clock master flag to es_out.

11 years agoNo functionnal changes.
Laurent Aimar [Sat, 27 Sep 2008 00:48:07 +0000 (02:48 +0200)]
No functionnal changes.

11 years agoDocumented input_clock_t interface.
Laurent Aimar [Fri, 26 Sep 2008 17:28:42 +0000 (19:28 +0200)]
Documented input_clock_t interface.

There is no functionnal changes + cosmetics.

11 years agoModularize drift algo by introducing a long term average helper.
Laurent Aimar [Thu, 25 Sep 2008 18:39:56 +0000 (20:39 +0200)]
Modularize drift algo by introducing a long term average helper.

11 years agoCosmetics.
Laurent Aimar [Thu, 25 Sep 2008 18:18:28 +0000 (20:18 +0200)]
Cosmetics.

11 years agoFixed last_pts by using max value.
Laurent Aimar [Thu, 25 Sep 2008 18:10:37 +0000 (20:10 +0200)]
Fixed last_pts by using max value.

11 years agoImproved (a little) reactivity on seek.
Laurent Aimar [Thu, 25 Sep 2008 18:06:47 +0000 (20:06 +0200)]
Improved (a little) reactivity on seek.

11 years agoMoved clock interface from input_internal.h to input_clock.h
Laurent Aimar [Wed, 24 Sep 2008 20:51:32 +0000 (22:51 +0200)]
Moved clock interface from input_internal.h to input_clock.h

11 years agoCosmetics.
Laurent Aimar [Wed, 24 Sep 2008 20:34:53 +0000 (22:34 +0200)]
Cosmetics.

11 years agoRemoved all clock dependencies on input.
Laurent Aimar [Wed, 24 Sep 2008 20:27:31 +0000 (22:27 +0200)]
Removed all clock dependencies on input.

11 years agoRemoved one dependency of the clock on input_thread_t.
Laurent Aimar [Wed, 24 Sep 2008 20:13:42 +0000 (22:13 +0200)]
Removed one dependency of the clock on input_thread_t.