vlc.git
12 years agoembedded snapshot: unlock the cache object
Olivier Aubert [Fri, 24 Oct 2008 12:00:26 +0000 (14:00 +0200)]
embedded snapshot: unlock the cache object

It it locked when returning from vlc_object_wait/vlc_cond_wait

12 years agoUpdate i18n files
Christophe Mutricy [Thu, 23 Oct 2008 20:51:14 +0000 (21:51 +0100)]
Update i18n files

12 years agoAdded decoder_New/Delete/Link/UnlinkPicture helpers.
Laurent Aimar [Thu, 23 Oct 2008 20:00:54 +0000 (22:00 +0200)]
Added decoder_New/Delete/Link/UnlinkPicture helpers.

12 years agoFixed an invalid return.
Laurent Aimar [Thu, 23 Oct 2008 19:46:24 +0000 (21:46 +0200)]
Fixed an invalid return.

12 years agomissing wakeup
Rémi Denis-Courmont [Thu, 23 Oct 2008 19:59:11 +0000 (22:59 +0300)]
missing wakeup

12 years agoAnother small decoder thread simplification
Rémi Denis-Courmont [Thu, 23 Oct 2008 19:58:01 +0000 (22:58 +0300)]
Another small decoder thread simplification

Conflicts:

src/input/decoder.c

12 years agoDMO: fix serialization, check for errors in DecOpen...
Rémi Denis-Courmont [Thu, 23 Oct 2008 19:56:28 +0000 (22:56 +0300)]
DMO: fix serialization, check for errors in DecOpen...

12 years agoAdded decoder_NewAudioBuffer/decoder_DeleteAudioBuffer helpers.
Laurent Aimar [Thu, 23 Oct 2008 19:31:23 +0000 (21:31 +0200)]
Added decoder_NewAudioBuffer/decoder_DeleteAudioBuffer helpers.

12 years agoFixed a comment.
Laurent Aimar [Thu, 23 Oct 2008 19:11:21 +0000 (21:11 +0200)]
Fixed a comment.

12 years agoRevert "Another small decoder thread simplification"
Laurent Aimar [Thu, 23 Oct 2008 19:09:50 +0000 (21:09 +0200)]
Revert "Another small decoder thread simplification"

This reverts commit 3c9681e1683beb1e3c11a3e7cd9f58e9d3738751.
It breaks DMO/Qt decoding. It can be commited again when a fix
is found.

12 years agoAdded decoder_NewSubpicture/decoder_DeleteSubpicture helpers.
Laurent Aimar [Thu, 23 Oct 2008 19:08:16 +0000 (21:08 +0200)]
Added decoder_NewSubpicture/decoder_DeleteSubpicture helpers.

12 years agoFix decoder FIFO pacing.
Rémi Denis-Courmont [Thu, 23 Oct 2008 18:38:40 +0000 (21:38 +0300)]
Fix decoder FIFO pacing.

12 years agoAnother small decoder thread simplification
Rémi Denis-Courmont [Thu, 23 Oct 2008 18:34:15 +0000 (21:34 +0300)]
Another small decoder thread simplification

12 years agoFixed segfault with decoder_GetInputAttachments/GetDisplayDate/GetDisplayRate.
Laurent Aimar [Thu, 23 Oct 2008 18:30:35 +0000 (20:30 +0200)]
Fixed segfault with decoder_GetInputAttachments/GetDisplayDate/GetDisplayRate.

12 years agoFix --disable-vlm --enable-sout
Rémi Denis-Courmont [Thu, 23 Oct 2008 16:23:29 +0000 (19:23 +0300)]
Fix --disable-vlm --enable-sout

12 years agoCode factorization
Rémi Denis-Courmont [Thu, 23 Oct 2008 15:27:30 +0000 (18:27 +0300)]
Code factorization

12 years agoSeparate filesystem functions from the rest
Rémi Denis-Courmont [Thu, 23 Oct 2008 15:07:13 +0000 (18:07 +0300)]
Separate filesystem functions from the rest

12 years agoembedded snapshot: properly lock/unlock the cache object
Olivier Aubert [Thu, 23 Oct 2008 14:36:19 +0000 (16:36 +0200)]
embedded snapshot: properly lock/unlock the cache object

12 years agoDefine next frame to 'e' hotkey.
Jean-Baptiste Kempf [Wed, 22 Oct 2008 22:02:04 +0000 (00:02 +0200)]
Define next frame to 'e' hotkey.

12 years agoFix DTD url
Christophe Mutricy [Tue, 21 Oct 2008 22:16:40 +0000 (23:16 +0100)]
Fix DTD url

12 years agodirectory: do not try to open "-" as it refers to stdin
Rémi Denis-Courmont [Wed, 22 Oct 2008 20:59:00 +0000 (23:59 +0300)]
directory: do not try to open "-" as it refers to stdin

This removes a silly error message.

12 years agoblock_FifoPace: proper waiting for overflowing queue
Rémi Denis-Courmont [Wed, 22 Oct 2008 20:46:32 +0000 (23:46 +0300)]
block_FifoPace: proper waiting for overflowing queue

12 years agoAllow block_FifoPut(fifo,NULL)
Rémi Denis-Courmont [Wed, 22 Oct 2008 20:36:37 +0000 (23:36 +0300)]
Allow block_FifoPut(fifo,NULL)

12 years agoCosmetic.
Laurent Aimar [Wed, 22 Oct 2008 20:20:56 +0000 (22:20 +0200)]
Cosmetic.

12 years agoAdded "next frame" support.
Laurent Aimar [Wed, 22 Oct 2008 19:55:06 +0000 (21:55 +0200)]
Added "next frame" support.

It will work most of the time.
Subtitle are not correctly handled.
It will be ignored if no video.

12 years agoFixed system clock phase when changing rate.
Laurent Aimar [Tue, 21 Oct 2008 22:58:19 +0000 (00:58 +0200)]
Fixed system clock phase when changing rate.

12 years agoFlush audio/subtitle in next frame.
Laurent Aimar [Tue, 21 Oct 2008 18:55:47 +0000 (20:55 +0200)]
Flush audio/subtitle in next frame.

12 years agoAdded input_DecoderFrameNext (not yet used).
Laurent Aimar [Tue, 21 Oct 2008 18:41:16 +0000 (20:41 +0200)]
Added input_DecoderFrameNext (not yet used).

12 years agoImplemented vout_NextPicture.
Laurent Aimar [Mon, 20 Oct 2008 20:39:20 +0000 (22:39 +0200)]
Implemented vout_NextPicture.

12 years agoAdded hotkey code for input "frame-next".
Laurent Aimar [Mon, 13 Oct 2008 21:15:00 +0000 (23:15 +0200)]
Added hotkey code for input "frame-next".

No default key is assigned.

12 years agoAdded control code for "frame-next" variable.
Laurent Aimar [Mon, 13 Oct 2008 21:13:29 +0000 (23:13 +0200)]
Added control code for "frame-next" variable.

It is ignored.

12 years agoClean up vout picture destruction.
Laurent Aimar [Fri, 17 Oct 2008 20:07:52 +0000 (22:07 +0200)]
Clean up vout picture destruction.

12 years agoSimplify picture selection in vout.
Laurent Aimar [Thu, 16 Oct 2008 21:55:58 +0000 (23:55 +0200)]
Simplify picture selection in vout.

12 years agoFixed display of first frame after seek while paused.
Laurent Aimar [Thu, 16 Oct 2008 21:55:33 +0000 (23:55 +0200)]
Fixed display of first frame after seek while paused.

12 years agoStore the last displayed picture pointer in vout private structure.
Laurent Aimar [Thu, 16 Oct 2008 20:10:05 +0000 (22:10 +0200)]
Store the last displayed picture pointer in vout private structure.

12 years agoSplit vout_internal.h to hide vout_thread_t definition from decoder.
Laurent Aimar [Thu, 16 Oct 2008 19:59:19 +0000 (21:59 +0200)]
Split vout_internal.h to hide vout_thread_t definition from decoder.

12 years agoblock_FifoWake (deprecated): wake-up _all_ threads, not just one
Rémi Denis-Courmont [Wed, 22 Oct 2008 20:09:27 +0000 (23:09 +0300)]
block_FifoWake (deprecated): wake-up _all_ threads, not just one

12 years agoDo not check for decoder error in the demux thread
Rémi Denis-Courmont [Wed, 22 Oct 2008 19:49:11 +0000 (22:49 +0300)]
Do not check for decoder error in the demux thread

That was only an optimization, and it fails thread-safety.
In any case, a failed decoder will still dequeue (and discard) blocks.

12 years agoSmall code factorization
Rémi Denis-Courmont [Wed, 22 Oct 2008 19:47:04 +0000 (22:47 +0300)]
Small code factorization

12 years agoFix potential NULL dereference (CID 27).
Rémi Duraffort [Wed, 22 Oct 2008 18:29:14 +0000 (20:29 +0200)]
Fix potential NULL dereference (CID 27).
And fix a potential memleak.

12 years agoFix compilation of modules/video_filter/imgresample.c
Rémi Duraffort [Wed, 22 Oct 2008 18:16:25 +0000 (20:16 +0200)]
Fix compilation of modules/video_filter/imgresample.c

12 years agoDon't forgot to unlock the mutex.
Rémi Duraffort [Mon, 20 Oct 2008 16:59:43 +0000 (18:59 +0200)]
Don't forgot to unlock the mutex.

12 years agoSAP does needs an object, not specifically a stream instance
Rémi Denis-Courmont [Wed, 22 Oct 2008 18:15:48 +0000 (21:15 +0300)]
SAP does needs an object, not specifically a stream instance

12 years agoAdd the sout stubs
Rémi Denis-Courmont [Wed, 22 Oct 2008 18:09:19 +0000 (21:09 +0300)]
Add the sout stubs

12 years agoRestore -no-undefined on Win32
Rémi Denis-Courmont [Wed, 22 Oct 2008 17:47:51 +0000 (20:47 +0300)]
Restore -no-undefined on Win32

12 years agoSimplifications
Rémi Denis-Courmont [Wed, 22 Oct 2008 17:27:19 +0000 (20:27 +0300)]
Simplifications

12 years agoVLM: provide stubs for --disable-vlm
Rémi Denis-Courmont [Wed, 22 Oct 2008 17:24:07 +0000 (20:24 +0300)]
VLM: provide stubs for --disable-vlm

12 years agoPrivatize httpd_MsgInit and httpd_MsgClean
Rémi Denis-Courmont [Wed, 22 Oct 2008 17:04:19 +0000 (20:04 +0300)]
Privatize httpd_MsgInit and httpd_MsgClean

12 years agoCosmetic fixes
Rémi Denis-Courmont [Wed, 22 Oct 2008 15:26:38 +0000 (18:26 +0300)]
Cosmetic fixes

12 years agoUse live555 timeout option and reduce waiting time
Sebastien Escudier [Wed, 22 Oct 2008 09:19:35 +0000 (11:19 +0200)]
Use live555 timeout option and reduce waiting time

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoMore verbose ffmpeg encoding failure
Rémi Denis-Courmont [Wed, 22 Oct 2008 14:18:00 +0000 (17:18 +0300)]
More verbose ffmpeg encoding failure

12 years agovideo4linux2: Add libv4l2 support. Fixes #1804.
Pavlov Konstantin [Tue, 21 Oct 2008 22:09:36 +0000 (02:09 +0400)]
video4linux2: Add libv4l2 support. Fixes #1804.

Based on patches by Nicolas Chauvet and Hans de Goede.

12 years ago[Contribs] Update libgcrypt to 1.4.3
Jean-Baptiste Kempf [Tue, 21 Oct 2008 08:08:13 +0000 (10:08 +0200)]
[Contribs] Update libgcrypt to 1.4.3

12 years ago[Contribs] libpng update for CVE-2008-3964
Jean-Baptiste Kempf [Tue, 21 Oct 2008 07:51:43 +0000 (09:51 +0200)]
[Contribs] libpng update for CVE-2008-3964

12 years ago[Qt] Fix a crash when toggling minimalView when --no-embedded-video.
Jean-Baptiste Kempf [Tue, 21 Oct 2008 07:35:44 +0000 (09:35 +0200)]
[Qt] Fix a crash when toggling minimalView when --no-embedded-video.

Close #2194

12 years ago[Contribs] Update the patch to deactivate c99 mode in FFmpeg
Jean-Baptiste Kempf [Mon, 20 Oct 2008 23:36:16 +0000 (01:36 +0200)]
[Contribs] Update the patch to deactivate c99 mode in FFmpeg

This should fix linking to faac and mp3lame.

12 years ago[Fake] Add a missing callback on fake-file-reload
Jean-Baptiste Kempf [Mon, 20 Oct 2008 11:38:23 +0000 (13:38 +0200)]
[Fake] Add a missing callback on fake-file-reload

When fake-file-reload is changed, you might want to renew the image.
Should Close #2230

12 years ago[Win32] Fix yet another packaging issue.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 20:50:58 +0000 (22:50 +0200)]
[Win32] Fix yet another packaging issue.

12 years agoRemove dummy embedded window exclusion
Rémi Denis-Courmont [Mon, 20 Oct 2008 20:18:30 +0000 (23:18 +0300)]
Remove dummy embedded window exclusion

Qt4 embedded breakage has nothing to do with X11 afterall.

12 years agoSimplifications
Rémi Denis-Courmont [Mon, 20 Oct 2008 20:15:24 +0000 (23:15 +0300)]
Simplifications

12 years agovlc_mutex_locker: automatic mutex locking for C++
Rémi Denis-Courmont [Mon, 20 Oct 2008 19:45:16 +0000 (22:45 +0300)]
vlc_mutex_locker: automatic mutex locking for C++

12 years agoBug fixed in the "recently played" functionnality
Ludovic Fauvet [Mon, 20 Oct 2008 19:54:27 +0000 (21:54 +0200)]
Bug fixed in the "recently played" functionnality

* A connect was called multiple times causing a wrong behaviour in the playlist.
* playlist_AddInput was replaced by playlist_Add to simplify code.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoOops, remove dummy code
Rémi Denis-Courmont [Mon, 20 Oct 2008 19:25:58 +0000 (22:25 +0300)]
Oops, remove dummy code

12 years agoEmbedded video still crashes, so disable it - refs #2136.
Rémi Denis-Courmont [Mon, 20 Oct 2008 19:23:51 +0000 (22:23 +0300)]
Embedded video still crashes, so disable it - refs #2136.

This is a VLC bug, not Qt4 version dependent.

12 years agoRemove recursive/deadlocking calls in Qt4 embedded video (refs #2136).
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:49:19 +0000 (21:49 +0300)]
Remove recursive/deadlocking calls in Qt4 embedded video (refs #2136).

The vout code invokes the Qt4 video widget through the Qt4 window
submodule. Hence, the video widget cannot call the vout window code.
This is where the embedded video crashes seem to come from.
Unfortunately, this commit trades the deadlock (on 1.0) or the crash
(on 0.9) for an assertion failure.

12 years agoRemove debug
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:40:10 +0000 (21:40 +0300)]
Remove debug

12 years agoDo not use thread cancellation for Qt4 - fix #2225 and #2226
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:23:59 +0000 (21:23 +0300)]
Do not use thread cancellation for Qt4 - fix #2225 and #2226

12 years agoCosmetic
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:22:12 +0000 (21:22 +0300)]
Cosmetic

12 years ago(Cosmetic) settings don't belong to the dialog provider
Rémi Denis-Courmont [Mon, 20 Oct 2008 16:44:41 +0000 (19:44 +0300)]
(Cosmetic) settings don't belong to the dialog provider

12 years ago[Win32] fix build package.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 16:00:25 +0000 (18:00 +0200)]
[Win32] fix build package.

12 years ago[Qt] Win Compilation fix.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 15:03:57 +0000 (17:03 +0200)]
[Qt] Win Compilation fix.

12 years ago[Qt] small menus changes...
Jean-Baptiste Kempf [Mon, 20 Oct 2008 12:53:34 +0000 (14:53 +0200)]
[Qt] small menus changes...

12 years ago[Qt] Forgotten file in previous commit.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 11:12:11 +0000 (13:12 +0200)]
[Qt] Forgotten file in previous commit.

12 years ago[Qt] Split the QtWinApp to its own file and rename it.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 10:59:57 +0000 (12:59 +0200)]
[Qt] Split the QtWinApp to its own file and rename it.

12 years ago[Qt] Various cleaning.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 10:15:27 +0000 (12:15 +0200)]
[Qt] Various cleaning.

12 years ago[Qt] RecentMRLs: Simplification and adding some debug.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 00:19:19 +0000 (02:19 +0200)]
[Qt] RecentMRLs: Simplification and adding some debug.

12 years ago[Qt] remove trailing spaces, set a default filter and add a LONGTEXT
Jean-Baptiste Kempf [Mon, 20 Oct 2008 00:07:29 +0000 (02:07 +0200)]
[Qt] remove trailing spaces, set a default filter and add a LONGTEXT

12 years agoNew recently played menu.
Ludovic Fauvet [Sun, 19 Oct 2008 15:37:53 +0000 (17:37 +0200)]
New recently played menu.

* Configuration aware to enable/disable (default enabled)
 * Filters available to ignore some patterns (using QRegExp)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago[Qt] move some static const int to enum
Jean-Baptiste Kempf [Sun, 19 Oct 2008 23:46:16 +0000 (01:46 +0200)]
[Qt] move some static const int to enum

12 years agoUnused variables
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:12:45 +0000 (23:12 +0300)]
Unused variables

12 years agoFix swscale linking
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:12:38 +0000 (23:12 +0300)]
Fix swscale linking

12 years agoFix avformat compile+link
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:09:34 +0000 (23:09 +0300)]
Fix avformat compile+link

12 years agoFix avformat compilation
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:06:27 +0000 (23:06 +0300)]
Fix avformat compilation

12 years agoFix warning
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:06:19 +0000 (23:06 +0300)]
Fix warning

12 years agoFactorize avcodec chroma table - another 2kb
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:01:29 +0000 (23:01 +0300)]
Factorize avcodec chroma table - another 2kb

12 years agoUnused variable
Rémi Denis-Courmont [Sun, 19 Oct 2008 19:57:37 +0000 (22:57 +0300)]
Unused variable

12 years agoSpare another 2kb
Rémi Denis-Courmont [Sun, 19 Oct 2008 19:52:48 +0000 (22:52 +0300)]
Spare another 2kb

12 years agoFactorize avcodec table - spare about 5kb
Rémi Denis-Courmont [Sun, 19 Oct 2008 19:49:28 +0000 (22:49 +0300)]
Factorize avcodec table - spare about 5kb

12 years agoQt4: restore message dialog
Rémi Denis-Courmont [Sun, 19 Oct 2008 16:20:56 +0000 (19:20 +0300)]
Qt4: restore message dialog

(bug at exit due to more generic problems with #2226 and #2227)

12 years agoDo not link plugins against libvlccore explicitly
Rémi Denis-Courmont [Sun, 19 Oct 2008 14:10:11 +0000 (17:10 +0300)]
Do not link plugins against libvlccore explicitly

We really want plugins to resolve their VLC symbols against the already
loaded LibVLC core, rather than with their own version of it.
Performance benefit should be neglectible, if any.
Still, this will "fix" the plugin crash with static LibVLC builds (or
generate a due link-time error). Anyway, this is one step toward
supporting any form of static linking again.

12 years agoFix some integer overflows and a stupid memset() invocation
Rémi Denis-Courmont [Sun, 19 Oct 2008 09:26:23 +0000 (12:26 +0300)]
Fix some integer overflows and a stupid memset() invocation

12 years agoSimply debug
Rémi Denis-Courmont [Sun, 19 Oct 2008 09:25:29 +0000 (12:25 +0300)]
Simply debug

12 years agoFix warning
Rémi Denis-Courmont [Sun, 19 Oct 2008 09:24:33 +0000 (12:24 +0300)]
Fix warning

12 years agoAdd some Mime type to mozilla plugin
Christophe Mutricy [Sat, 18 Oct 2008 21:30:26 +0000 (22:30 +0100)]
Add some Mime type to mozilla plugin

12 years agoFix (yet another) TiVo demux overflow.
Rémi Denis-Courmont [Sat, 18 Oct 2008 19:19:49 +0000 (22:19 +0300)]
Fix (yet another) TiVo demux overflow.

Reported by Tobias Klein <tk@trapkit.de>

12 years agoXReparentWindow seems to be needed here to get video on correct screen in
Ilkka Ollakka [Sat, 18 Oct 2008 12:45:05 +0000 (15:45 +0300)]
XReparentWindow seems to be needed here to get video on correct screen in
xinerama setup.

12 years agoUse normal QCloseEvent to signal maininterface to closeup
Ilkka Ollakka [Sat, 18 Oct 2008 12:43:58 +0000 (15:43 +0300)]
Use normal QCloseEvent to signal maininterface to closeup

12 years agoRevert "Try to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)"
Jean-Baptiste Kempf [Sat, 18 Oct 2008 10:06:30 +0000 (12:06 +0200)]
Revert "Try to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)"

Let's wait for this issue to be statued.

This reverts commit 984fb14a84fdc5af8f0dc9c49928f32d04dc8cbf.

12 years agoRevert "Mark "force-dolby-surround" as deprecated"
Jean-Baptiste Kempf [Sat, 18 Oct 2008 10:06:06 +0000 (12:06 +0200)]
Revert "Mark "force-dolby-surround" as deprecated"

This reverts commit bbe5c8e4750a35bf3a5f23914c6181ffec916391.

12 years ago[Subtitles] Change error message to warning message when fail subtype detection
Jean-Baptiste Kempf [Sat, 18 Oct 2008 09:42:25 +0000 (11:42 +0200)]
[Subtitles] Change error message to warning message when fail subtype detection

Because this is really boring when you have some .txt files on the same folder than your movie and they are not subtitles but are auto-detected.