vlc.git
11 years agoThread cancellation on WinCE
Pierre Ynard [Tue, 25 Nov 2008 13:22:24 +0000 (14:22 +0100)]
Thread cancellation on WinCE

This patch adds support for thread cancellation on Windows CE. It
emulates missing functions such as WaitForSingleObjectEx, by creating
a cancellation event handle, and forwarding the wait functions to wait
on both the original handles and the cancellation event. The thread can
then be cancelled by triggering the event from another thread.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years ago[Build] Try to fix the MacOS builds when git describe fails.
Jean-Baptiste Kempf [Tue, 25 Nov 2008 08:49:07 +0000 (09:49 +0100)]
[Build] Try to fix the MacOS builds when git describe fails.

11 years agospecify dependency to msvcrt for vlc.exe and libvlc.dll
Geoffroy Couprie [Mon, 24 Nov 2008 22:06:47 +0000 (23:06 +0100)]
specify dependency to msvcrt for vlc.exe and libvlc.dll

11 years ago[ÐShow] add HDYC mediasubtype
Jean-Baptiste Kempf [Mon, 24 Nov 2008 22:02:20 +0000 (23:02 +0100)]
[ÐShow] add HDYC mediasubtype

The colourspace is wrong, but we have no other solutions for now.
Patch by Edouard Gomez, idea modified by David Flynn and merged manually by me.

11 years agoNSIS: put the manifest on install.
Jean-Baptiste Kempf [Mon, 24 Nov 2008 21:56:22 +0000 (22:56 +0100)]
NSIS: put the manifest on install.

11 years agoAdd manifests to browser plugins
Geoffroy Couprie [Mon, 24 Nov 2008 21:33:11 +0000 (22:33 +0100)]
Add manifests to browser plugins

11 years agoHide es out timeshift delay from time display.
Laurent Aimar [Mon, 24 Nov 2008 19:08:15 +0000 (20:08 +0100)]
Hide es out timeshift delay from time display.

11 years agoUpdated codec informations on decoder output change.
Laurent Aimar [Mon, 24 Nov 2008 18:11:33 +0000 (19:11 +0100)]
Updated codec informations on decoder output change.

 It allows to have more complete informations but only on currently
decoded tracks.

11 years agoFixed deadlock when no data are received in rtp.
Laurent Aimar [Mon, 24 Nov 2008 18:10:00 +0000 (19:10 +0100)]
Fixed deadlock when no data are received in rtp.

 It might not be the cleanest way, but I don't see any other fix with the
current API.
 Feel free to revert if a better fix can be found.

11 years agoDo not try other protocols when ask to quit (mms).
Laurent Aimar [Mon, 24 Nov 2008 18:09:15 +0000 (19:09 +0100)]
Do not try other protocols when ask to quit (mms).

11 years agoCosmetic.
Laurent Aimar [Sun, 23 Nov 2008 21:23:29 +0000 (22:23 +0100)]
Cosmetic.

11 years agoRemove useless variable
Rémi Denis-Courmont [Mon, 24 Nov 2008 17:21:44 +0000 (19:21 +0200)]
Remove useless variable

11 years agoDo not use input while not referenced
Rémi Denis-Courmont [Mon, 24 Nov 2008 17:18:55 +0000 (19:18 +0200)]
Do not use input while not referenced

11 years ago[Contrib] Bump XML to 2.7.2 and update gnuTLS to 2.6.2 (big issue in 2.6.1)
Jean-Baptiste Kempf [Mon, 24 Nov 2008 17:17:33 +0000 (18:17 +0100)]
[Contrib] Bump XML to 2.7.2 and update gnuTLS to 2.6.2 (big issue in 2.6.1)

11 years agoIgnore Makevars.template
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:54:39 +0000 (18:54 +0200)]
Ignore Makevars.template

11 years agothanks
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:54:09 +0000 (18:54 +0200)]
thanks

11 years agoDocumentation fixes
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:52:46 +0000 (18:52 +0200)]
Documentation fixes

11 years agoRemove horribly out of date Mandriva spec file
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:51:46 +0000 (18:51 +0200)]
Remove horribly out of date Mandriva spec file

Clearly, these files are better maintained out of our tree.

11 years agoAdd an INSTALL.maemo file
Antoine Lejeune [Mon, 10 Nov 2008 16:43:00 +0000 (17:43 +0100)]
Add an INSTALL.maemo file

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoAdd an omap framebuffer video output module
Antoine Lejeune [Sat, 26 Jul 2008 01:11:06 +0000 (03:11 +0200)]
Add an omap framebuffer video output module

It is used to speed up video output on N800/N810 devices.

X11 is used to handle events.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoAllow bootstrapping from a subdirectory
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:28:50 +0000 (18:28 +0200)]
Allow bootstrapping from a subdirectory

(or any directory in fact)

11 years agoChange PSP-format to mp4v/mp4a/mp4 as reported by Kaarlo Räihä
Ilkka Ollakka [Mon, 24 Nov 2008 14:11:15 +0000 (16:11 +0200)]
Change PSP-format to mp4v/mp4a/mp4 as reported by Kaarlo Räihä

11 years agoAdd UpdateTeletext to case
Ilkka Ollakka [Sun, 23 Nov 2008 20:51:58 +0000 (22:51 +0200)]
Add UpdateTeletext to case

11 years agoRemove extra ItemStateChanged_Type handling
Ilkka Ollakka [Sun, 23 Nov 2008 20:49:52 +0000 (22:49 +0200)]
Remove extra ItemStateChanged_Type handling

11 years agoRenamed "seekable" into "can-seek" (for consistency).
Laurent Aimar [Sun, 23 Nov 2008 14:29:49 +0000 (15:29 +0100)]
Renamed "seekable" into "can-seek" (for consistency).

11 years agoRemoved intf-change-vout/rate-change/stats-change/intf-change.
Laurent Aimar [Sun, 23 Nov 2008 13:57:30 +0000 (14:57 +0100)]
Removed intf-change-vout/rate-change/stats-change/intf-change.

11 years agoUpdated to intf-event.
Laurent Aimar [Sun, 23 Nov 2008 14:21:12 +0000 (15:21 +0100)]
Updated to intf-event.

11 years agoDo not use intf-change in maemo gui.
Laurent Aimar [Sun, 23 Nov 2008 13:52:17 +0000 (14:52 +0100)]
Do not use intf-change in maemo gui.

11 years agoUpdated qt4 to use intf-event.
Laurent Aimar [Sun, 23 Nov 2008 13:33:03 +0000 (14:33 +0100)]
Updated qt4 to use intf-event.

It might need a review and a clean up of the qt4 code.

11 years agoAdded INPUT_EVENT_TELETEXT.
Laurent Aimar [Sun, 23 Nov 2008 13:29:50 +0000 (14:29 +0100)]
Added INPUT_EVENT_TELETEXT.

11 years agoAvoid a deadlock when a decoder is in error.
Laurent Aimar [Sun, 23 Nov 2008 12:10:59 +0000 (13:10 +0100)]
Avoid a deadlock when a decoder is in error.

11 years agoAllows audio output users to control vout creation.
Laurent Aimar [Sun, 23 Nov 2008 12:09:02 +0000 (13:09 +0100)]
Allows audio output users to control vout creation.

 The input event vout now warns about every vout creation/destruction
due to a decoder.

11 years agomacosx: properly set up the nextKeyView for all text fields in the sprefs
Felix Paul Kühne [Sat, 22 Nov 2008 22:12:43 +0000 (23:12 +0100)]
macosx: properly set up the nextKeyView for all text fields in the sprefs

Forward-port [a643d7e59b8fa7b8525dd12ae733baa2a1333f26]

11 years agoFix my previous commit
Christophe Mutricy [Sat, 22 Nov 2008 18:31:04 +0000 (18:31 +0000)]
Fix my previous commit

11 years agoInclude event.h.
Christophe Mutricy [Sat, 22 Nov 2008 17:44:42 +0000 (17:44 +0000)]
Include event.h.

Needed for input_SendEventVout()

11 years agoTimeshift is no longer an access_filter
Christophe Mutricy [Sat, 22 Nov 2008 17:02:25 +0000 (17:02 +0000)]
Timeshift is no longer an access_filter

11 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.

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

Closes #2300

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

Untested
Closes #2306

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

Closes #2308

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

Closes #2307

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

Closes #2305

11 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).

11 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

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

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

11 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

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

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

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

11 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.

11 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).

11 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>
11 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 !

11 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.

11 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.

11 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.

11 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.

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

11 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.

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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>
11 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.

11 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.

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

11 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.

11 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.

11 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>
11 years agoAdded timeshift support.
Laurent Aimar [Tue, 18 Nov 2008 19:30:28 +0000 (20:30 +0100)]
Added timeshift support.

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

11 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.

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

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

Fixed double free.

11 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>
11 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.

11 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.

11 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)

11 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.

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

11 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.

11 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).

11 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.

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

11 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.

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

11 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).