vlc.git
13 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

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

13 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

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

13 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

13 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

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

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

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

13 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

13 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

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

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

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

13 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

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

13 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

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

13 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

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

13 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

13 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

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

13 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>
13 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

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

13 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

13 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

13 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

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

13 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

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

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

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

13 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++

13 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>
13 years agoOops, remove dummy code
Rémi Denis-Courmont [Mon, 20 Oct 2008 19:25:58 +0000 (22:25 +0300)]
Oops, remove dummy code

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

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

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

13 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

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

13 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

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

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

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

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

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

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

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

13 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

13 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>
13 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

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

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

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

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

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

13 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

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

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

13 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

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

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

13 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

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

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

13 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

13 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>

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

13 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

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

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

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

13 years ago[Qt] Fix Network Open Tab
Jean-Baptiste Kempf [Fri, 17 Oct 2008 18:07:07 +0000 (20:07 +0200)]
[Qt] Fix Network Open Tab

Network Open Tab assumes all rtp/udp addresses are multicast #2221
Please review.

13 years ago[Qt] When opening a VIDEO_TS folder, use dvd:// and not directory://
Jean-Baptiste Kempf [Fri, 17 Oct 2008 17:49:17 +0000 (19:49 +0200)]
[Qt] When opening a VIDEO_TS folder, use dvd:// and not directory://

This should close #2167. But must be checked for extra "/" on windows.

13 years agoUnneed warnings.
Rémi Duraffort [Wed, 15 Oct 2008 19:11:47 +0000 (21:11 +0200)]
Unneed warnings.

13 years ago[Qt] delete Qt preferences too when resetting prefs.
Jean-Baptiste Kempf [Fri, 17 Oct 2008 10:36:35 +0000 (12:36 +0200)]
[Qt] delete Qt preferences too when resetting prefs.

Close #2126

13 years ago[Qt] Fix the header menu popup when you have a header-state saved.
Jean-Baptiste Kempf [Fri, 17 Oct 2008 07:52:56 +0000 (09:52 +0200)]
[Qt] Fix the header menu popup when you have a header-state saved.

13 years agoMark "force-dolby-surround" as deprecated
Christophe Mutricy [Fri, 17 Oct 2008 00:05:25 +0000 (01:05 +0100)]
Mark "force-dolby-surround" as deprecated

13 years agoUpdate POTFILES.in for new and/or moved files
Christophe Mutricy [Fri, 17 Oct 2008 00:01:58 +0000 (01:01 +0100)]
Update POTFILES.in for new and/or moved files

13 years agoUnbreak compilation with --disable-sout
Pierre Ynard [Thu, 16 Oct 2008 10:45:48 +0000 (12:45 +0200)]
Unbreak compilation with --disable-sout

The libraries still won't build due to missing symbols though.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agoA mouse click in an empty position clear the selection (see #1956)
Ludovic Fauvet [Thu, 16 Oct 2008 21:34:35 +0000 (23:34 +0200)]
A mouse click in an empty position clear the selection (see #1956)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoFix automake warning
Rémi Denis-Courmont [Thu, 16 Oct 2008 15:37:01 +0000 (18:37 +0300)]
Fix automake warning

13 years agoRemove unused gethostbyname check
Rémi Denis-Courmont [Thu, 16 Oct 2008 15:36:51 +0000 (18:36 +0300)]
Remove unused gethostbyname check

13 years agoProvide more item meta data to HTTP RPN.
Scott Lyons [Wed, 15 Oct 2008 00:40:28 +0000 (20:40 -0400)]
Provide more item meta data to HTTP RPN.

Working on a few remote-control applications that require more details
about the files in the playlist and the currently playing file. Also
fixed the RPN module so that the fields listed as possible arguments
for vlc_get_meta actually matches the list of fields in the Developer's
wiki.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>