vlc.git
13 years agoBuild a separate non-installable VLC for easier debugging
Rémi Denis-Courmont [Sun, 31 Aug 2008 10:06:04 +0000 (13:06 +0300)]
Build a separate non-installable VLC for easier debugging

13 years agoMove kept sout instance to playlist private data
Rémi Denis-Courmont [Sun, 31 Aug 2008 09:21:18 +0000 (12:21 +0300)]
Move kept sout instance to playlist private data

13 years agomemset outside of lock
Rémi Denis-Courmont [Sat, 30 Aug 2008 20:49:36 +0000 (23:49 +0300)]
memset outside of lock

13 years agoplaylist: Fetcher and parser are playlist private.
Pierre d'Herbemont [Sun, 31 Aug 2008 08:38:56 +0000 (10:38 +0200)]
playlist: Fetcher and parser are playlist private.

13 years agomacosx: Don't allow playlist or media list draging.
Pierre d'Herbemont [Sat, 30 Aug 2008 17:47:10 +0000 (19:47 +0200)]
macosx: Don't allow playlist or media list draging.

13 years agomacosx: the deprecated vlc_object_get takes 2 args now.
Pierre d'Herbemont [Sat, 30 Aug 2008 17:18:16 +0000 (19:18 +0200)]
macosx: the deprecated vlc_object_get takes 2 args now.

13 years agoWin32: fix vlc_control_cancel from main() task
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:38:41 +0000 (19:38 +0300)]
Win32: fix vlc_control_cancel from main() task

13 years agoUse stat rather than fopen+fclose to check if file exists
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:28:12 +0000 (19:28 +0300)]
Use stat rather than fopen+fclose to check if file exists

13 years agoMemory leak
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:28:05 +0000 (19:28 +0300)]
Memory leak

13 years agoPointer cast warning
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:24:33 +0000 (19:24 +0300)]
Pointer cast warning

13 years agoUnused parameter
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:24:20 +0000 (19:24 +0300)]
Unused parameter

13 years agop_module_bank: move out of vlc_global
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:59:03 +0000 (14:59 +0300)]
p_module_bank: move out of vlc_global

13 years agoDo not log through modules (they are not tied to any libvlc)
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:38:17 +0000 (14:38 +0300)]
Do not log through modules (they are not tied to any libvlc)

13 years agomodule_Call: specify object for logging
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:32:53 +0000 (14:32 +0300)]
module_Call: specify object for logging

13 years agoInit the structure lock just once
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:21:22 +0000 (14:21 +0300)]
Init the structure lock just once

(should probably be a per-instance lock instead though)

13 years agoResync object leak check
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:14:37 +0000 (14:14 +0300)]
Resync object leak check

13 years agoOne objects tree per instance rather than per process
Rémi Denis-Courmont [Sat, 30 Aug 2008 10:23:35 +0000 (13:23 +0300)]
One objects tree per instance rather than per process

13 years agovlc_object_get: take instance as a parameter
Rémi Denis-Courmont [Sat, 30 Aug 2008 09:45:32 +0000 (12:45 +0300)]
vlc_object_get: take instance as a parameter

13 years agovlc_custom_create: no need to invoke the global root object
Rémi Denis-Courmont [Sat, 30 Aug 2008 09:56:28 +0000 (12:56 +0300)]
vlc_custom_create: no need to invoke the global root object

13 years agoSet i_aspect after vfilter in transcode
Ilkka Ollakka [Fri, 29 Aug 2008 07:12:55 +0000 (10:12 +0300)]
Set i_aspect after vfilter in transcode

13 years agoUnused variable
Rémi Denis-Courmont [Sat, 30 Aug 2008 08:08:38 +0000 (11:08 +0300)]
Unused variable

13 years agoInitialize messages stacks inside the message bank
Rémi Denis-Courmont [Sat, 30 Aug 2008 08:15:04 +0000 (11:15 +0300)]
Initialize messages stacks inside the message bank

13 years agoRemove vlc_threadobj (did not work properly anymore)
Rémi Denis-Courmont [Sat, 30 Aug 2008 07:28:26 +0000 (10:28 +0300)]
Remove vlc_threadobj (did not work properly anymore)

13 years agoRemove the broken reference checker
Rémi Denis-Courmont [Sat, 30 Aug 2008 07:21:21 +0000 (10:21 +0300)]
Remove the broken reference checker

13 years agoUse cookie reference, not (uninitialized) value
Rémi Denis-Courmont [Sat, 30 Aug 2008 07:12:29 +0000 (10:12 +0300)]
Use cookie reference, not (uninitialized) value

13 years agoFix crop/aspect ration and deinterlace menus in Qt. (solved by jpeg)
Rémi Duraffort [Fri, 29 Aug 2008 19:23:33 +0000 (21:23 +0200)]
Fix crop/aspect ration and deinterlace menus in Qt. (solved by jpeg)

13 years agoupnp_intel: fix compilation.
Rémi Duraffort [Fri, 29 Aug 2008 19:16:46 +0000 (21:16 +0200)]
upnp_intel: fix compilation.

13 years agoRemove leftover code
Rémi Denis-Courmont [Fri, 29 Aug 2008 16:08:21 +0000 (19:08 +0300)]
Remove leftover code

13 years agosout_AccessOutNew: allow any VLC object type, not just sout instance
Rémi Denis-Courmont [Fri, 29 Aug 2008 14:42:32 +0000 (17:42 +0300)]
sout_AccessOutNew: allow any VLC object type, not just sout instance

13 years agoMake access_out independent of sout instance
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:51:00 +0000 (18:51 +0300)]
Make access_out independent of sout instance

13 years agoImplement ACCESS_OUT_CONTROLS_PACE as needed
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:50:00 +0000 (18:50 +0300)]
Implement ACCESS_OUT_CONTROLS_PACE as needed

13 years agoDisable instance pace control from stream rather than access
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:25:52 +0000 (18:25 +0300)]
Disable instance pace control from stream rather than access

13 years agoAdd ACCESS_OUT_CAN_CONTROL_PACE, fix AccessOutControl prototype
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:13:19 +0000 (18:13 +0300)]
Add ACCESS_OUT_CAN_CONTROL_PACE, fix AccessOutControl prototype

(My fault - fortunately, sout_AccessOutControl was unused)

13 years agoUDP out: avoid useless references to p_sout
Rémi Denis-Courmont [Fri, 29 Aug 2008 14:41:50 +0000 (17:41 +0300)]
UDP out: avoid useless references to p_sout

13 years agoImplemented sout string escaping in QT.
Laurent Aimar [Fri, 29 Aug 2008 12:50:52 +0000 (14:50 +0200)]
Implemented sout string escaping in QT.

13 years agoImproved config_chain parsing by using escape for \ " and ' (close #1952)
Laurent Aimar [Fri, 29 Aug 2008 10:14:48 +0000 (12:14 +0200)]
Improved config_chain parsing by using escape for \ " and ' (close #1952)

It also add checks against failed malloc.

The option value should be escaped by \ for the mentionned characters and
only for them (and only one time).

For example
 dst="test \"ok\".mp3"
will assign the value
 test "ok".mp3
to the option dst.

The following one
 dst="c:\test\\'bla'bla.txt"
will assign the value
 c:\test\'bla'bla.txt

You can use the functions
- config_StringEscape (allocates memory)
- config_StringUnescape (does not allocate memory).

13 years agoFixed segfault when doing rendering without respecting ffmpeg requirements.
Laurent Aimar [Fri, 29 Aug 2008 10:10:43 +0000 (12:10 +0200)]
Fixed segfault when doing rendering without respecting ffmpeg requirements.

It fixes at least SVQ1 segfaults.

13 years agoRevert "Fixed segfault with I410 (it is 10 bits per pel)."
Laurent Aimar [Thu, 28 Aug 2008 22:17:37 +0000 (00:17 +0200)]
Revert "Fixed segfault with I410 (it is 10 bits per pel)."

This reverts commit 48079eeaa7c011485072486cfe1efb6dbbe33b4d.
I410 is 9 bits per pel, it is ffmpeg doing something wrong.

13 years agojvlc: accept cmdline args for sample client
Filippo Carone [Tue, 26 Aug 2008 11:09:00 +0000 (13:09 +0200)]
jvlc: accept cmdline args for sample client

13 years agojvlc: assembly goal with dependencies for samples added
Filippo Carone [Mon, 25 Aug 2008 14:32:29 +0000 (16:32 +0200)]
jvlc: assembly goal with dependencies for samples added

13 years agojvlc: test with multiple jvlc instances added
Filippo Carone [Mon, 25 Aug 2008 14:31:24 +0000 (16:31 +0200)]
jvlc: test with multiple jvlc instances added

13 years agojvlc: multiple videos on a canvas sample added
Filippo Carone [Mon, 25 Aug 2008 14:30:54 +0000 (16:30 +0200)]
jvlc: multiple videos on a canvas sample added

13 years agoFix compilation
Christophe Mutricy [Thu, 28 Aug 2008 23:06:53 +0000 (00:06 +0100)]
Fix compilation

Was missing from [629f5752332506b6988a4bb72add829b27e3c470]

13 years agoFixed swscaler minimal size for YUY2 sse2.
Laurent Aimar [Thu, 28 Aug 2008 21:55:30 +0000 (23:55 +0200)]
Fixed swscaler minimal size for YUY2 sse2.

13 years agovlc_thread_join: cannot join current thread
Rémi Denis-Courmont [Thu, 28 Aug 2008 20:58:00 +0000 (23:58 +0300)]
vlc_thread_join: cannot join current thread

vlc_join will cause the assertion failure with pthread.
On -unchanged- Windows, it (supposedly) deadlocks as it used to.

13 years agovlc_join: check for deadlock
Rémi Denis-Courmont [Thu, 28 Aug 2008 20:57:08 +0000 (23:57 +0300)]
vlc_join: check for deadlock

13 years agovlc_object_lock_and_wait: broken by design, remove
Rémi Denis-Courmont [Thu, 28 Aug 2008 20:39:44 +0000 (23:39 +0300)]
vlc_object_lock_and_wait: broken by design, remove

The only user is LUA, inlined there. The return value seems suspicious
by the way.

13 years agoDeprecate vlc_object_get
Rémi Denis-Courmont [Thu, 28 Aug 2008 20:19:35 +0000 (23:19 +0300)]
Deprecate vlc_object_get

(Hopefully-would-have-been-Signed-off-by: Pierre d'Herbemont)

13 years agoRemove unneeded vlc_signal_object_maybe hack
Rémi Denis-Courmont [Thu, 28 Aug 2008 20:19:19 +0000 (23:19 +0300)]
Remove unneeded vlc_signal_object_maybe hack

13 years agoRun SD threads (if any) with cancellation
Rémi Denis-Courmont [Thu, 28 Aug 2008 19:41:28 +0000 (22:41 +0300)]
Run SD threads (if any) with cancellation

13 years agoSAP: use thread cancellation, get rid of the waitpipe hack
Rémi Denis-Courmont [Thu, 28 Aug 2008 19:41:15 +0000 (22:41 +0300)]
SAP: use thread cancellation, get rid of the waitpipe hack

13 years agoSD: pull down cancellation safety on those SD with lame threads
Rémi Denis-Courmont [Thu, 28 Aug 2008 19:38:30 +0000 (22:38 +0300)]
SD: pull down cancellation safety on those SD with lame threads

13 years agoFixed snapshot aspect ratio.
Laurent Aimar [Thu, 28 Aug 2008 18:39:27 +0000 (20:39 +0200)]
Fixed snapshot aspect ratio.

It fixes aspect ratio of saved picture (and internal ones).
It fixes aspect ratio of displayed PIP (with and without overlay).
It factorizes a bit the code.
It adds a few checks on malloc.

13 years agoSmall updates in russian translation.
Pavlov Konstantin [Thu, 28 Aug 2008 08:24:58 +0000 (12:24 +0400)]
Small updates in russian translation.

13 years agoSpelling: typo.
Pavlov Konstantin [Wed, 27 Aug 2008 14:54:10 +0000 (18:54 +0400)]
Spelling: typo.

13 years agoSpelling typo.
Pavlov Konstantin [Wed, 27 Aug 2008 14:51:56 +0000 (18:51 +0400)]
Spelling typo.

13 years agoAdd braces where needed.
Pavlov Konstantin [Wed, 27 Aug 2008 14:42:16 +0000 (18:42 +0400)]
Add braces where needed.

13 years agoFix typo.
Pavlov Konstantin [Wed, 27 Aug 2008 14:39:39 +0000 (18:39 +0400)]
Fix typo.

13 years agoSpelling: mili -> milli.
Pavlov Konstantin [Wed, 27 Aug 2008 14:12:42 +0000 (18:12 +0400)]
Spelling: mili -> milli.

13 years agoSmall update in ru.po.
Pavlov Konstantin [Wed, 27 Aug 2008 13:38:32 +0000 (17:38 +0400)]
Small update in ru.po.

13 years agoUPnP Intel: remove useless and harmful SD thread
Rémi Denis-Courmont [Thu, 28 Aug 2008 19:25:23 +0000 (22:25 +0300)]
UPnP Intel: remove useless and harmful SD thread

13 years agoDrop prehistoric avahi versions support
Rémi Denis-Courmont [Thu, 28 Aug 2008 19:16:15 +0000 (22:16 +0300)]
Drop prehistoric avahi versions support

13 years agoFixed(woraround) another bug of swscaler when ask to do a nop.
Laurent Aimar [Thu, 28 Aug 2008 19:23:26 +0000 (21:23 +0200)]
Fixed(woraround) another bug of swscaler when ask to do a nop.

If we ask to convert but this conversion does nothing (same chroma and
same width/height, swscaler does not copy the pixels.

13 years agoBonjour: use the avahi thread backend
Rémi Denis-Courmont [Thu, 28 Aug 2008 19:09:43 +0000 (22:09 +0300)]
Bonjour: use the avahi thread backend

Simpler and free from arbitrary wake ups

13 years agoUPnP CyberLink: do not spawn a useless poll thread (untested)
Rémi Denis-Courmont [Thu, 28 Aug 2008 18:22:23 +0000 (21:22 +0300)]
UPnP CyberLink: do not spawn a useless poll thread (untested)

13 years agosnapshost: avoid vlc_object_get (this is still a really ugly hack)
Rémi Denis-Courmont [Thu, 28 Aug 2008 17:07:51 +0000 (20:07 +0300)]
snapshost: avoid vlc_object_get (this is still a really ugly hack)

13 years agoRemove unneeded include
Rémi Denis-Courmont [Thu, 28 Aug 2008 17:12:02 +0000 (20:12 +0300)]
Remove unneeded include

13 years agoHere too. (yeah, we now have video filters in modules/video_chroma and modules/video_...
Antoine Cellerier [Thu, 28 Aug 2008 17:09:48 +0000 (19:09 +0200)]
Here too. (yeah, we now have video filters in modules/video_chroma and modules/video_filter)

13 years agoCheck for input/output size match here too. I hope that I didn't forget other files.
Antoine Cellerier [Thu, 28 Aug 2008 16:50:11 +0000 (18:50 +0200)]
Check for input/output size match here too. I hope that I didn't forget other files.

13 years agoIf you don't know how to scale ... don't pretend that you do. (Needs backporting)
Antoine Cellerier [Thu, 28 Aug 2008 16:42:40 +0000 (18:42 +0200)]
If you don't know how to scale ... don't pretend that you do. (Needs backporting)

13 years agoIf the thread does nothing, we might as well exit
Rémi Denis-Courmont [Thu, 28 Aug 2008 16:28:35 +0000 (19:28 +0300)]
If the thread does nothing, we might as well exit

13 years agopsz_intf_switch was read-only: remove dead code
Rémi Denis-Courmont [Thu, 28 Aug 2008 16:25:57 +0000 (19:25 +0300)]
psz_intf_switch was read-only: remove dead code

13 years agosignals: use the VLC thread API
Rémi Denis-Courmont [Thu, 28 Aug 2008 16:25:33 +0000 (19:25 +0300)]
signals: use the VLC thread API

13 years agoAdded a INPUT_CONTROL_RESTART_ES and use it in video_output.
Laurent Aimar [Thu, 28 Aug 2008 12:30:02 +0000 (14:30 +0200)]
Added a INPUT_CONTROL_RESTART_ES and use it in video_output.

This removes the need for suxor_thread_t.

13 years agoFixed a potential division by 0 in mp4 demuxer.
Laurent Aimar [Thu, 28 Aug 2008 11:07:32 +0000 (13:07 +0200)]
Fixed a potential division by 0 in mp4 demuxer.

13 years agoFixed segfault with I410 (it is 10 bits per pel).
Laurent Aimar [Thu, 28 Aug 2008 11:03:08 +0000 (13:03 +0200)]
Fixed segfault with I410 (it is 10 bits per pel).

It fixes SVQ1 (at least).

13 years agoClean up ogm parsing and fixed a potential memory overwrite.
Laurent Aimar [Thu, 28 Aug 2008 10:31:22 +0000 (12:31 +0200)]
Clean up ogm parsing and fixed a potential memory overwrite.

13 years agoEnable input recording for access_demux too.
Laurent Aimar [Thu, 28 Aug 2008 09:27:21 +0000 (11:27 +0200)]
Enable input recording for access_demux too.

13 years agoFixed audio visual activation introduced by [eff24974c62da8740d381ae45694474ac1ee2c05]
Laurent Aimar [Thu, 28 Aug 2008 09:25:21 +0000 (11:25 +0200)]
Fixed audio visual activation introduced by [eff24974c62da8740d381ae45694474ac1ee2c05]

13 years agoRevert part of c3baee8d05bc02734964fd8fcb3c66b8b88d8821. We no longer have the intl...
Jean-Paul Saman [Thu, 28 Aug 2008 06:58:22 +0000 (08:58 +0200)]
Revert part of c3baee8d05bc02734964fd8fcb3c66b8b88d8821. We no longer have the intl directory.

13 years agoFixed RGB ffmpeg color selection.
Laurent Aimar [Wed, 27 Aug 2008 22:33:36 +0000 (00:33 +0200)]
Fixed RGB ffmpeg color selection.

I have some doubt about it, either swscale does not respect the ffmpeg doc
or the doc is wrong (about the rgb mask).

13 years agoRequest RGBA when you want that (and not RV32).
Laurent Aimar [Wed, 27 Aug 2008 20:36:25 +0000 (22:36 +0200)]
Request RGBA when you want that (and not RV32).

This fixes the skin loading. The color seems wrong but I think the skin
code is right (vlc RGBA is stored in memory R, B, G, A).

13 years agoFix make dist
Christophe Mutricy [Wed, 27 Aug 2008 22:12:50 +0000 (23:12 +0100)]
Fix make dist

13 years agoSome more rules to make debug pkg for win32
Christophe Mutricy [Wed, 27 Aug 2008 20:09:40 +0000 (21:09 +0100)]
Some more rules to make debug pkg for win32

13 years agoupdate: vlc_savecancel now returns the cancel handle.
Pierre d'Herbemont [Wed, 27 Aug 2008 21:18:11 +0000 (23:18 +0200)]
update: vlc_savecancel now returns the cancel handle.

13 years agoSAP: no need to keep two dates per announce
Rémi Denis-Courmont [Sat, 23 Aug 2008 08:00:49 +0000 (11:00 +0300)]
SAP: no need to keep two dates per announce

13 years agoSAP out: do not access b_die directly
Rémi Denis-Courmont [Sat, 16 Aug 2008 16:30:46 +0000 (19:30 +0300)]
SAP out: do not access b_die directly

13 years agoSAP out: no need for net_Write here
Rémi Denis-Courmont [Sat, 16 Aug 2008 16:25:25 +0000 (19:25 +0300)]
SAP out: no need for net_Write here

13 years agoWin32: allocate cancellation data on the stack (cannot fail)
Rémi Denis-Courmont [Sat, 16 Aug 2008 08:56:51 +0000 (11:56 +0300)]
Win32: allocate cancellation data on the stack (cannot fail)

Better than an unlikely abort().

13 years ago(Potentially) allow pthread without pthread native cancellation
Rémi Denis-Courmont [Sat, 16 Aug 2008 08:20:48 +0000 (11:20 +0300)]
(Potentially) allow pthread without pthread native cancellation

13 years agoUDP access_out: get rid of block_FifoWake and blocking mwait()
Rémi Denis-Courmont [Tue, 12 Aug 2008 17:19:00 +0000 (20:19 +0300)]
UDP access_out: get rid of block_FifoWake and blocking mwait()

13 years agoRTP sout: get rid of block_FifoWake and don't get stuck in mwait()
Rémi Denis-Courmont [Mon, 11 Aug 2008 20:16:34 +0000 (23:16 +0300)]
RTP sout: get rid of block_FifoWake and don't get stuck in mwait()

13 years agoblock: cancellation safety
Rémi Denis-Courmont [Sun, 10 Aug 2008 18:44:52 +0000 (21:44 +0300)]
block: cancellation safety

(Eventually, this could replace block_FifoWake))

13 years agoCleanup helper for unlocking
Rémi Denis-Courmont [Sun, 10 Aug 2008 18:43:05 +0000 (21:43 +0300)]
Cleanup helper for unlocking

13 years agoSupport for cancellation cleanup functions
Rémi Denis-Courmont [Sun, 10 Aug 2008 18:06:11 +0000 (21:06 +0300)]
Support for cancellation cleanup functions

13 years agoRevert "Disable cancellation everywhere (except in msg_Dbg) to start with"
Rémi Denis-Courmont [Sun, 10 Aug 2008 17:14:17 +0000 (20:14 +0300)]
Revert "Disable cancellation everywhere (except in msg_Dbg) to start with"

Every thread function disables cancellation properly now.

13 years agoPlugins: push cancellation down
Rémi Denis-Courmont [Sun, 10 Aug 2008 16:49:48 +0000 (19:49 +0300)]
Plugins: push cancellation down

13 years agolibvlccore: push threads cancellation down vlc_thread_create
Rémi Denis-Courmont [Tue, 5 Aug 2008 19:12:27 +0000 (22:12 +0300)]
libvlccore: push threads cancellation down vlc_thread_create

13 years agovlc_object_kill: cancel the thread
Rémi Denis-Courmont [Sun, 6 Jul 2008 18:38:42 +0000 (21:38 +0300)]
vlc_object_kill: cancel the thread

13 years agoDisable cancellation everywhere (except in msg_Dbg) to start with
Rémi Denis-Courmont [Sun, 6 Jul 2008 18:35:27 +0000 (21:35 +0300)]
Disable cancellation everywhere (except in msg_Dbg) to start with