vlc.git
12 years agoRevert "Revert "Improved rtjpeg and seek NUV demuxer support.""
Laurent Aimar [Sun, 31 Aug 2008 22:44:51 +0000 (00:44 +0200)]
Revert "Revert "Improved rtjpeg and seek NUV demuxer support.""

This reverts commit bebc7751abe86c6ed52a81ae252e6b0f9abbff74.

12 years agoFix RCC rules
Christophe Mutricy [Mon, 1 Sep 2008 19:55:49 +0000 (20:55 +0100)]
Fix RCC rules

resources.cpp depends on all the png.

12 years agoFix input_state_changed()
Christophe Mutricy [Mon, 1 Sep 2008 18:36:47 +0000 (19:36 +0100)]
Fix  input_state_changed()

Patch by Jakob Fries

12 years agoCacheName: inline and thread-safe
Rémi Denis-Courmont [Mon, 1 Sep 2008 19:09:22 +0000 (22:09 +0300)]
CacheName: inline and thread-safe

12 years agoWin32: fix malloc when creating a thread
Rémi Denis-Courmont [Mon, 1 Sep 2008 18:03:29 +0000 (21:03 +0300)]
Win32: fix malloc when creating a thread

12 years agolive555: use floats for i_npt as well, remove useless checks
Rafaël Carré [Mon, 1 Sep 2008 15:45:49 +0000 (17:45 +0200)]
live555: use floats for i_npt as well, remove useless checks

Fix Control() which was hit by the bug we wanted to fix...

12 years agolive555: keep the npt clock unit: floats representing seconds
Rafaël Carré [Mon, 1 Sep 2008 15:26:32 +0000 (17:26 +0200)]
live555: keep the npt clock unit: floats representing seconds

This simplify the code and prevent typos: the PLAY request was made with
a starting time 1 million times too big, inverting npt and vlc clocks

12 years agoVLM: be sure the input thread has terminated
Rafaël Carré [Mon, 1 Sep 2008 13:44:48 +0000 (15:44 +0200)]
VLM: be sure the input thread has terminated

12 years agoHere too (can't the Win32 and OS X stuff be factorized a bit?)
Antoine Cellerier [Sun, 31 Aug 2008 21:25:27 +0000 (23:25 +0200)]
Here too (can't the Win32 and OS X stuff be factorized a bit?)

12 years agoInclude all the lua README.txt files in DIST and fix the NEWS.
Antoine Cellerier [Sun, 31 Aug 2008 21:20:30 +0000 (23:20 +0200)]
Include all the lua README.txt files in DIST and fix the NEWS.

12 years agoClarify user specific lua script path on linux.
Antoine Cellerier [Sun, 31 Aug 2008 21:16:22 +0000 (23:16 +0200)]
Clarify user specific lua script path on linux.

12 years agoInstall scripts correctly.
Christophe Mutricy [Sun, 31 Aug 2008 16:47:43 +0000 (17:47 +0100)]
Install scripts correctly.

So that the correct permissions are set

12 years agoQt: Check for NULLity to avoid segfault in AdvPrefs. CLose #1957
Jean-Baptiste Kempf [Sun, 31 Aug 2008 17:21:43 +0000 (10:21 -0700)]
Qt: Check for NULLity to avoid segfault in AdvPrefs. CLose #1957

I just don't understand why double-clicking in an empty space does trigger the
event, but it does...

12 years agoBump Qt for windows to 4.4.1
Jean-Baptiste Kempf [Sun, 31 Aug 2008 20:09:09 +0000 (13:09 -0700)]
Bump Qt for windows to 4.4.1

12 years agoUpdate Windows versions
Rémi Denis-Courmont [Sun, 31 Aug 2008 20:06:50 +0000 (23:06 +0300)]
Update Windows versions

12 years agoVS has not been supported for ages.
Rémi Denis-Courmont [Sun, 31 Aug 2008 20:05:06 +0000 (23:05 +0300)]
VS has not been supported for ages.

12 years agoSimplifications
Rémi Denis-Courmont [Sun, 31 Aug 2008 18:31:57 +0000 (21:31 +0300)]
Simplifications

12 years agoRemove UTF-32 hacks from stream.
Rémi Denis-Courmont [Sun, 31 Aug 2008 18:27:52 +0000 (21:27 +0300)]
Remove UTF-32 hacks from stream.

For a start, nobody uses UTF-32 for transmission/storage.
Then, we anyway have iconv() support in the subtitle support (where it
belongs IMHO), if you really wanted to use UTF-32.

12 years agoTake care of different input/canvas aspect-ratio
Ilkka Ollakka [Sun, 31 Aug 2008 17:37:11 +0000 (20:37 +0300)]
Take care of different input/canvas aspect-ratio

12 years agoUse even padding in canvas
Ilkka Ollakka [Sun, 31 Aug 2008 17:35:27 +0000 (20:35 +0300)]
Use even padding in canvas

12 years agoFix croppadd out of bounds write (we were padding 'paddleft+paddright' pixels on...
Antoine Cellerier [Sun, 31 Aug 2008 14:10:14 +0000 (16:10 +0200)]
Fix croppadd out of bounds write (we were padding 'paddleft+paddright' pixels on the right instead of 'paddright')

12 years agoTypo
Rémi Denis-Courmont [Sun, 31 Aug 2008 14:08:30 +0000 (17:08 +0300)]
Typo

12 years agoUnexport vlc_object_dump
Rémi Denis-Courmont [Sun, 31 Aug 2008 14:07:48 +0000 (17:07 +0300)]
Unexport vlc_object_dump

12 years agoCheck for leaked objects while we still can
Rémi Denis-Courmont [Sun, 31 Aug 2008 14:03:27 +0000 (17:03 +0300)]
Check for leaked objects while we still can

12 years agoFix i18n in update.c
Christophe Mutricy [Sun, 31 Aug 2008 11:59:30 +0000 (12:59 +0100)]
Fix i18n in update.c

+ a few typo

12 years agoplaylist: Initialize private members. (oops)
Pierre d'Herbemont [Sun, 31 Aug 2008 10:24:38 +0000 (12:24 +0200)]
playlist: Initialize private members. (oops)

12 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

12 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

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

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

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

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

12 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

12 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

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

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

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

12 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

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

12 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

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

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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

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

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

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

12 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

12 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

12 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

12 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

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

12 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

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

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

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

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

12 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

12 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

12 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

12 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

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

Was missing from [629f5752332506b6988a4bb72add829b27e3c470]

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

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

12 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

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

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

12 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

12 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

12 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

12 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

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

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

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

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

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

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

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

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

12 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

12 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

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

12 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

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

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

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

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

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

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

12 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

12 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

12 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

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