]> git.sesse.net Git - vlc/log
vlc
15 years agoDon't i18n'd ""
Christophe Mutricy [Sat, 22 Nov 2008 16:43:19 +0000 (16:43 +0000)]
Don't i18n'd ""

It's reserved by gettext. gettext("") will output the headers.

15 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:33:07 +0000 (16:33 +0000)]
Fix memleak

Closes #2300

15 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:23:11 +0000 (16:23 +0000)]
Fix memleak

Untested
Closes #2306

15 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:22:24 +0000 (16:22 +0000)]
Fix memleak

Closes #2308

15 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:17:23 +0000 (16:17 +0000)]
Fix memleak

Closes #2307

15 years agoFix mem leak
Christophe Mutricy [Sat, 22 Nov 2008 16:04:24 +0000 (16:04 +0000)]
Fix mem leak

Closes #2305

15 years agoClean up input events.
Laurent Aimar [Sat, 22 Nov 2008 15:26:16 +0000 (16:26 +0100)]
Clean up input events.

A new variable intf-event has been added.
It supercedes the following variables (they are still present for the
time being):
 - intf-change
 - intf-change-vout
 - rate-change
 - stats-change
and allows to have a better knowledge of the change done.

It is documented in vlc_input.h (in progress).

15 years agoMoved statistic update from sout to input.
Laurent Aimar [Sat, 22 Nov 2008 11:36:35 +0000 (12:36 +0100)]
Moved statistic update from sout to input.

It allows to avoid the inclusion of input_internal.h

15 years agoCosmetics.
Laurent Aimar [Sat, 22 Nov 2008 11:03:18 +0000 (12:03 +0100)]
Cosmetics.

15 years agoUse input_interface.h (playlist).
Laurent Aimar [Sat, 22 Nov 2008 10:57:24 +0000 (11:57 +0100)]
Use input_interface.h (playlist).

15 years agoClean up input_item_t functions and usages.
Laurent Aimar [Sat, 22 Nov 2008 10:37:58 +0000 (11:37 +0100)]
Clean up input_item_t functions and usages.

It fixes a bunch of missing locks and remove unused functions.
It splits input_internal.h

15 years agoRemoved unused -playlist_ItemSetName.
Laurent Aimar [Sat, 22 Nov 2008 10:18:07 +0000 (11:18 +0100)]
Removed unused -playlist_ItemSetName.

15 years agoSet CDDA track duration when creating the track items.
Laurent Aimar [Sat, 22 Nov 2008 10:15:21 +0000 (11:15 +0100)]
Set CDDA track duration when creating the track items.

15 years agoDo not use playlist code in CDDA.
Laurent Aimar [Sat, 22 Nov 2008 09:18:15 +0000 (10:18 +0100)]
Do not use playlist code in CDDA.

15 years agoDo not use playlist inside a decoder.
Laurent Aimar [Sat, 22 Nov 2008 09:50:24 +0000 (10:50 +0100)]
Do not use playlist inside a decoder.

15 years agoUse input_item_GetName instead of direct access to an item.
Laurent Aimar [Sat, 22 Nov 2008 09:10:55 +0000 (10:10 +0100)]
Use input_item_GetName instead of direct access to an item.

It will allows proper locking of p_item.

15 years agoLet input_item_AddSubItem set the playlist flags.
Laurent Aimar [Sat, 22 Nov 2008 09:06:12 +0000 (10:06 +0100)]
Let input_item_AddSubItem set the playlist flags.

It will allows proper locking of p_item.

15 years agoMove/clean up input event code to its own file.
Laurent Aimar [Thu, 20 Nov 2008 20:49:51 +0000 (21:49 +0100)]
Move/clean up input event code to its own file.

There is no functionnal changes except a few missing events added.

15 years agoRemoved unneeded macros.
Laurent Aimar [Fri, 21 Nov 2008 18:54:23 +0000 (19:54 +0100)]
Removed unneeded macros.

15 years agoCosmetics.
Laurent Aimar [Wed, 19 Nov 2008 21:57:16 +0000 (22:57 +0100)]
Cosmetics.

15 years agoDo not refuse to open odd port number with RTP input access.
Laurent Aimar [Sat, 22 Nov 2008 13:16:54 +0000 (14:16 +0100)]
Do not refuse to open odd port number with RTP input access.

It is a common pratice to allows it for at least TS over RTP.
I have added an error message when using a odd port.

15 years agoDo not recreate the decoder when unneeded (mp4).
Laurent Aimar [Fri, 21 Nov 2008 20:28:26 +0000 (21:28 +0100)]
Do not recreate the decoder when unneeded (mp4).

15 years agoFix a typo in SDL vout plugin
Joseph Tulou [Sat, 22 Nov 2008 00:36:49 +0000 (00:36 +0000)]
Fix a typo in SDL vout plugin

It was preventing mouse to work properly.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
15 years ago[Qt] Fix the Advanced Control de-attachment from interface.
Jean-Baptiste Kempf [Fri, 21 Nov 2008 12:50:20 +0000 (13:50 +0100)]
[Qt] Fix the Advanced Control de-attachment from interface.

Don't forget the break; in a switch !

15 years agoAdd can-rate to distinguish between normal rate control and negative playback direction.
Jean-Paul Saman [Fri, 21 Nov 2008 10:48:18 +0000 (11:48 +0100)]
Add can-rate to distinguish between normal rate control and negative playback direction.

15 years agoDocument new feature RTSP trickplay support.
Jean-Paul Saman [Fri, 21 Nov 2008 09:52:44 +0000 (10:52 +0100)]
Document new feature RTSP trickplay support.

15 years agoEnable rc fastforward and rewind commands for RTSP trickplay.
Jean-Paul Saman [Fri, 21 Nov 2008 09:21:31 +0000 (10:21 +0100)]
Enable rc fastforward and rewind commands for RTSP trickplay.

15 years agoAllow minimum rate change upto 32/1 in input.
Jean-Paul Saman [Fri, 21 Nov 2008 08:57:17 +0000 (09:57 +0100)]
Allow minimum rate change upto 32/1 in input.

15 years agoFixed double free.
Laurent Aimar [Thu, 20 Nov 2008 19:12:51 +0000 (20:12 +0100)]
Fixed double free.

15 years agoMoved INPUT_CONTROL_FIFO_SIZE to private header.
Laurent Aimar [Thu, 20 Nov 2008 18:45:11 +0000 (19:45 +0100)]
Moved INPUT_CONTROL_FIFO_SIZE to private header.

15 years agoFix rate slower/faster in rewind mode.
Laurent Aimar [Thu, 20 Nov 2008 18:21:22 +0000 (19:21 +0100)]
Fix rate slower/faster in rewind mode.

15 years agoCosmetics.
Laurent Aimar [Thu, 20 Nov 2008 18:07:58 +0000 (19:07 +0100)]
Cosmetics.

15 years agoFixed decoder deadlock when stream output control the pace.
Laurent Aimar [Thu, 20 Nov 2008 18:04:09 +0000 (19:04 +0100)]
Fixed decoder deadlock when stream output control the pace.

15 years ago(qt4) Enable reverse playback direction button in qt4 interface.
Jean-Paul Saman [Thu, 20 Nov 2008 16:10:47 +0000 (17:10 +0100)]
(qt4) Enable reverse playback direction button in qt4 interface.

15 years agoRemove last instances of FORWARD/BACKWARD state.
Jean-Paul Saman [Thu, 20 Nov 2008 15:41:01 +0000 (16:41 +0100)]
Remove last instances of FORWARD/BACKWARD state.

I seem to have missed these, sorry guys for breaking the build.

15 years agoRemove FORWARD_S and BACKWARD_S from input state.
Jean-Paul Saman [Thu, 20 Nov 2008 13:33:37 +0000 (14:33 +0100)]
Remove FORWARD_S and BACKWARD_S from input state.

The input core does separate playing states for forward or backward direction from the playing state PLAYING_S. If one wants to know in what direction VLC is playing, then he needs to look at the sign value of the "rate" value. Backward playing direction has a negative "rate" value. Forward playing direction has a positive one.

15 years agoSignal can_rewind for use by user interfaces.
Jean-Paul Saman [Thu, 20 Nov 2008 13:19:37 +0000 (14:19 +0100)]
Signal can_rewind for use by user interfaces.

15 years agoAllowing for rate < 0 enables rewind playback for eg: RTSP streams.
Jean-Paul Saman [Wed, 19 Nov 2008 15:07:34 +0000 (16:07 +0100)]
Allowing for rate < 0 enables rewind playback for eg: RTSP streams.

Don't allow rate < 0 when p_input->p->input.b_rescale_ts is true.
Setting b_rescale_ts to true says to vlc, rescale the timestamp.
Setting it to false is like saying, I can completely handle the rate, just aknoledge the fact that the rate is not the default one.

15 years ago(live555) RTSP fastforward works from Qt4 interface.
Jean-Paul Saman [Wed, 19 Nov 2008 14:45:19 +0000 (15:45 +0100)]
(live555) RTSP fastforward works from Qt4 interface.

15 years agoFixed video offsets and horizontal edge blending.
COCQUEBERT Cédric [Wed, 19 Nov 2008 21:11:26 +0000 (22:11 +0100)]
Fixed video offsets and horizontal edge blending.

Signed-off-by: COCQUEBERT Cédric <cedric.cocquebert@cea.fr>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
15 years agoFixed deinterlacing for i422.
Laurent Aimar [Wed, 19 Nov 2008 20:53:17 +0000 (21:53 +0100)]
Fixed deinterlacing for i422.

Initial report/patch by Marian Durkovic.

15 years agoFix deadlock when the decoder return an error.
Laurent Aimar [Wed, 19 Nov 2008 20:22:30 +0000 (21:22 +0100)]
Fix deadlock when the decoder return an error.

15 years agoFixed rawvideo packetizer.
Laurent Aimar [Wed, 19 Nov 2008 20:21:55 +0000 (21:21 +0100)]
Fixed rawvideo packetizer.

15 years agoMake icecast server detection more robust.
Laurent Aimar [Wed, 19 Nov 2008 19:22:01 +0000 (20:22 +0100)]
Make icecast server detection more robust.

15 years agoFix potential invalid sout buffer chain in decoder.
Laurent Aimar [Wed, 19 Nov 2008 18:45:03 +0000 (19:45 +0100)]
Fix potential invalid sout buffer chain in decoder.

15 years agolibvlc: get right name of audio output module
Lukas Durfina [Tue, 18 Nov 2008 21:46:40 +0000 (22:46 +0100)]
libvlc: get right name of audio output module

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoAdded timeshift support.
Laurent Aimar [Tue, 18 Nov 2008 19:30:28 +0000 (20:30 +0100)]
Added timeshift support.

15 years agoImproved ogm support + fix typo.
Laurent Aimar [Tue, 18 Nov 2008 19:16:28 +0000 (20:16 +0100)]
Improved ogm support + fix typo.

15 years agoFixed possible out of bound access + infinite loop in dirac header.
Laurent Aimar [Tue, 18 Nov 2008 18:39:24 +0000 (19:39 +0100)]
Fixed possible out of bound access + infinite loop in dirac header.

15 years agoCosmetics.
Laurent Aimar [Tue, 18 Nov 2008 18:31:47 +0000 (19:31 +0100)]
Cosmetics.

15 years agoFixed double free.
Laurent Aimar [Tue, 18 Nov 2008 18:19:50 +0000 (19:19 +0100)]
Fixed double free.

Fixed double free.

15 years agoDo not delay processing of the first data page of the last logical stream
Vincent Penquerc'h [Tue, 11 Nov 2008 20:42:31 +0000 (20:42 +0000)]
Do not delay processing of the first data page of the last logical stream

The first data page of a physical stream is stored in the relevant logical stream
in Ogg_FindLogicalStreams. Therefore, we must not read a page and only update the
stream it belongs to if we haven't processed this first page yet. If we do, we
will only process that first page whenever we find the second page for this stream.
While this is fine for Vorbis and Theora, which are continuous codecs, which means
the second page will arrive real quick, this is not fine for Kate, whose second
data page will typically arrive much later.
This means it is now possible to seek right at the start of a stream where the last
logical stream is Kate, without having to wait for the second data page to unblock
the first one, which is the one that triggers the 'no more headers to backup' code.
And, as we all know, seeking without having backed up all headers is bad, since the
codec will fail to initialize if it's missing its headers.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
15 years agoFixed block_Realloc when block_t->p_buffer has changed.
Laurent Aimar [Tue, 18 Nov 2008 18:05:49 +0000 (19:05 +0100)]
Fixed block_Realloc when block_t->p_buffer has changed.

15 years agoUse vlc_rand_bytes for utf8_mkstemp.
Laurent Aimar [Tue, 18 Nov 2008 18:05:22 +0000 (19:05 +0100)]
Use vlc_rand_bytes for utf8_mkstemp.

15 years agoCosmetics (use PES_EXTENDED_STREAM_ID)
Laurent Aimar [Tue, 18 Nov 2008 00:21:05 +0000 (01:21 +0100)]
Cosmetics (use PES_EXTENDED_STREAM_ID)

15 years agoAdded utf8_mkstemp to src/libvlccore.sym.
Laurent Aimar [Tue, 18 Nov 2008 00:19:41 +0000 (01:19 +0100)]
Added utf8_mkstemp to src/libvlccore.sym.

15 years agoFixed es selection regression.
Laurent Aimar [Mon, 17 Nov 2008 23:47:31 +0000 (00:47 +0100)]
Fixed es selection regression.

15 years agoFaster close when timeshift is active.
Laurent Aimar [Mon, 17 Nov 2008 23:17:30 +0000 (00:17 +0100)]
Faster close when timeshift is active.

It is useless to read the stream data when flushing.

15 years agoFixed a segfault in ES_OUT_GET_ES_STATE (typo).
Laurent Aimar [Mon, 17 Nov 2008 23:09:43 +0000 (00:09 +0100)]
Fixed a segfault in ES_OUT_GET_ES_STATE (typo).

15 years agoUse utf8_mkstemp in timeshift.
Laurent Aimar [Mon, 17 Nov 2008 23:07:14 +0000 (00:07 +0100)]
Use utf8_mkstemp in timeshift.

It should fix win32 build.

15 years agoAdded a utf8_mkstemp implementation.
Laurent Aimar [Mon, 17 Nov 2008 23:05:49 +0000 (00:05 +0100)]
Added a utf8_mkstemp implementation.

15 years agoReduce memory usage (-28%) by packing index structures.
Laurent Aimar [Mon, 17 Nov 2008 18:55:01 +0000 (19:55 +0100)]
Reduce memory usage (-28%) by packing index structures.

It is done by using __attribute__((__packed__)) when available.

15 years agoUpdated "can-pause" value.
Laurent Aimar [Mon, 17 Nov 2008 18:36:37 +0000 (19:36 +0100)]
Updated "can-pause" value.

15 years agoAdded timeshift options (input-timeshift-granularity/input-timeshift-path).
Laurent Aimar [Mon, 17 Nov 2008 18:36:00 +0000 (19:36 +0100)]
Added timeshift options (input-timeshift-granularity/input-timeshift-path).

15 years agoFixed missing unlock in case of error (timeshift).
Laurent Aimar [Mon, 17 Nov 2008 18:34:24 +0000 (19:34 +0100)]
Fixed missing unlock in case of error (timeshift).

15 years agoRemoved timeshift module.
Laurent Aimar [Mon, 17 Nov 2008 18:05:40 +0000 (19:05 +0100)]
Removed timeshift module.

 It has been replaced by generic timeshift at es_out level.
The only regressions I see is:
 - it is not (yet) possible to timeshift module that (wrongly) advertize
 pace control.
 - the new timeshift still uses too much memory (~20Mbytes per hour for DVB-T).

15 years agoDump data to disk when timeshifting.
Laurent Aimar [Sun, 16 Nov 2008 23:42:29 +0000 (00:42 +0100)]
Dump data to disk when timeshifting.

15 years agoPrepare file storage in timeshift.
Laurent Aimar [Sun, 16 Nov 2008 20:34:58 +0000 (21:34 +0100)]
Prepare file storage in timeshift.

15 years agoClean up.
Laurent Aimar [Sun, 16 Nov 2008 13:47:40 +0000 (14:47 +0100)]
Clean up.

15 years agoAdded frame by frame support in es out timeshift.
Laurent Aimar [Sun, 16 Nov 2008 12:40:53 +0000 (13:40 +0100)]
Added frame by frame support in es out timeshift.

15 years agoPrivatized ES_OUT_SET_ACTIVE/MODE and removed ES_OUT_GET_ACTIVE/MODE/GROUP.
Laurent Aimar [Sun, 16 Nov 2008 11:37:52 +0000 (12:37 +0100)]
Privatized ES_OUT_SET_ACTIVE/MODE and removed ES_OUT_GET_ACTIVE/MODE/GROUP.

15 years agoStop timeshifting when unused.
Laurent Aimar [Sun, 16 Nov 2008 01:55:38 +0000 (02:55 +0100)]
Stop timeshifting when unused.

15 years agoCosmetics.
Laurent Aimar [Sun, 16 Nov 2008 01:45:48 +0000 (02:45 +0100)]
Cosmetics.

15 years agoUntangled es_out_timeshift lock/wait/properties.
Laurent Aimar [Sun, 16 Nov 2008 01:44:38 +0000 (02:44 +0100)]
Untangled es_out_timeshift lock/wait/properties.

15 years agoNo functionnal changes (timeshift).
Laurent Aimar [Sun, 16 Nov 2008 00:27:48 +0000 (01:27 +0100)]
No functionnal changes (timeshift).

15 years agoCosmetics.
Laurent Aimar [Sat, 15 Nov 2008 23:08:15 +0000 (00:08 +0100)]
Cosmetics.

15 years agoAuto reset rate to source rate when no more buffered data.
Laurent Aimar [Sat, 15 Nov 2008 20:04:26 +0000 (21:04 +0100)]
Auto reset rate to source rate when no more buffered data.

15 years agoAdded rate change support to es_out_timeshift.
Laurent Aimar [Sat, 15 Nov 2008 19:28:08 +0000 (20:28 +0100)]
Added rate change support to es_out_timeshift.

15 years agoCosmetics.
Laurent Aimar [Fri, 14 Nov 2008 00:58:09 +0000 (01:58 +0100)]
Cosmetics.

15 years agoImplemented pause for non pausable stream (in memory).
Laurent Aimar [Fri, 14 Nov 2008 00:53:30 +0000 (01:53 +0100)]
Implemented pause for non pausable stream (in memory).

15 years agoCosmetic.
Laurent Aimar [Wed, 12 Nov 2008 23:14:12 +0000 (00:14 +0100)]
Cosmetic.

15 years agoAllow using es_out timeshift pause support.
Laurent Aimar [Wed, 12 Nov 2008 23:10:01 +0000 (00:10 +0100)]
Allow using es_out timeshift pause support.

15 years agoBegin es out timeshift implementation.
Laurent Aimar [Wed, 12 Nov 2008 23:08:30 +0000 (00:08 +0100)]
Begin es out timeshift implementation.

There are some problems:
- The data are stored in memory.
- Only pause/unpause are supported.
- Data are sent too fast to the next es_out.

15 years agoAdded initial skeleton for es_out timeshift support.
Laurent Aimar [Tue, 11 Nov 2008 20:26:46 +0000 (21:26 +0100)]
Added initial skeleton for es_out timeshift support.

It is not yet functionnal.

15 years agoFixed ES_OUT_SET_FMT name.
Laurent Aimar [Fri, 7 Nov 2008 00:08:49 +0000 (01:08 +0100)]
Fixed ES_OUT_SET_FMT name.

15 years agoPatch to enable/disable key and mouse handling at vout level:
Jean-Baptiste Kempf [Mon, 17 Nov 2008 15:48:04 +0000 (16:48 +0100)]
Patch to enable/disable key and mouse handling at vout level:

- x11-event option is renamed vout-event and become global
(libvlc-module.c)
- var_CreateGetInteger is called once at x11 initialization

Patch by Joseph Tulou

15 years agoTemporarily work around crashing on Windows due to %zu
Pierre Ynard [Mon, 17 Nov 2008 11:08:28 +0000 (12:08 +0100)]
Temporarily work around crashing on Windows due to %zu

The printf functions on Windows don't support the z length modifier,
which can shift field arguments, and causes an unconditional crash in
modules.c on start-up. For now, strip it on Windows and have vlc work
again, until a better solution is found and applied.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoSupport for QAM modulation on ATSC
Jean-Baptiste Kempf [Mon, 17 Nov 2008 15:26:58 +0000 (16:26 +0100)]
Support for QAM modulation on ATSC

Default is not QAM_AUTO because ATSC is mainly using VSB_8 for non-cable operations.
Patch by Charles Hordis

15 years agoDon't distribute ./compile
Christophe Mutricy [Mon, 17 Nov 2008 00:18:48 +0000 (00:18 +0000)]
Don't distribute ./compile

15 years agoDistribute pixmaps/toolbars/*
Christophe Mutricy [Mon, 17 Nov 2008 00:17:05 +0000 (00:17 +0000)]
Distribute pixmaps/toolbars/*

15 years agortp/xiph.c has no strings and is not (yet) distributed
Christophe Mutricy [Mon, 17 Nov 2008 00:15:34 +0000 (00:15 +0000)]
rtp/xiph.c has no strings and is not (yet) distributed

15 years agoAllow disabling libsysfs support
Alexis Ballier [Sat, 15 Nov 2008 13:42:19 +0000 (14:42 +0100)]
Allow disabling libsysfs support

Add a configure switch to allow disabling libsysfs support instead of letting it check what is on the build host and enable it accordingly. The default behavior is unchanged.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
15 years agoFixed snapshot while video is paused.
Laurent Aimar [Sat, 15 Nov 2008 21:53:26 +0000 (22:53 +0100)]
Fixed snapshot while video is paused.

15 years agocodec/dirac: Fix video format guessing
David Flynn [Sat, 15 Nov 2008 14:13:48 +0000 (14:13 +0000)]
codec/dirac: Fix video format guessing

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
15 years agoNEWS: Dirac is now available in TS too.
Jean-Baptiste Kempf [Sat, 15 Nov 2008 16:44:39 +0000 (17:44 +0100)]
NEWS: Dirac is now available in TS too.

15 years ago[Qt] Use the new Frame-By-Frame icon.
Jean-Baptiste Kempf [Fri, 14 Nov 2008 16:02:42 +0000 (17:02 +0100)]
[Qt] Use the new Frame-By-Frame icon.

15 years agodo not mind large time discontinuities in SPU streams these are to be expected, so...
Vincent Penquerc'h [Tue, 11 Nov 2008 20:56:06 +0000 (20:56 +0000)]
do not mind large time discontinuities in SPU streams these are to be expected, so do not reset timing

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
15 years agoRemoved useless test.
Laurent Aimar [Sat, 15 Nov 2008 12:21:57 +0000 (13:21 +0100)]
Removed useless test.

15 years agomux/mpeg/pes: move PES_PRIVATE_STREAM_1 id handling into PESHeader()
David Flynn [Fri, 14 Nov 2008 21:46:40 +0000 (21:46 +0000)]
mux/mpeg/pes: move PES_PRIVATE_STREAM_1 id handling into PESHeader()

PES_EXTENDED_STREAM_ID is handled inside PESHeader()
Not handling PES_PRIVATE_STREAM_1 inside PESHeader() just moves complication
into the calling function and creates an extra argument.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
15 years agomux/mpeg/ts: Add dirac muxing support
David Flynn [Fri, 14 Nov 2008 21:46:39 +0000 (21:46 +0000)]
mux/mpeg/ts: Add dirac muxing support

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>