]>
git.sesse.net Git - vlc/log
Jean-Paul Saman [Wed, 1 Dec 2010 14:12:37 +0000 (15:12 +0100)]
modules/codec/avcodec: Move HAVE_AVCODEC_MT to avcodec.h
The defined HAVE_AVCODEC_MT is used by modules/codec/avcodec/avcodec.c
and modules/codec/avcodec/video.c. It was only defined in modules/codec/avcodec/video.c.
This patch moves the define to modules/codec/avcodec/avcodec.h.
Jean-Paul Saman [Wed, 1 Dec 2010 13:01:47 +0000 (14:01 +0100)]
stream_filter/httplive.c: HLS streams are in no particular order in the .m3u8 file
Take into account that HLS streams with bandwidth specified are not in ascending
(or descending) order. Choose really the best wrt to measurements.
Jean-Paul Saman [Tue, 30 Nov 2010 20:11:16 +0000 (21:11 +0100)]
stream_filter/httplive.c: download first 3 segments.
Download the first couple of segments to determine the best
bandwidth match and to ensure smooth playback.
Jean-Paul Saman [Mon, 29 Nov 2010 09:27:08 +0000 (10:27 +0100)]
src/stream_output/stream_output.c: input_UpdateStatistics() expects an INPUT_STATISTIC_* not an SOUT_STATISTIC_*
input_UpdateStatistics() expects an INPUT_STATISTIC_* not an SOUT_STATISTIC_*
Pierre Ynard [Thu, 2 Dec 2010 02:30:06 +0000 (03:30 +0100)]
rtp sout: theora packetizer
This doesn't quite follow the outdated draft-barbato-avt-rtp-theora-01,
but keeps consistant with RFC 5215 (vorbis) and with the ffmpeg
implementation
Pierre Ynard [Wed, 1 Dec 2010 20:56:36 +0000 (21:56 +0100)]
win32: disable broken thread times too
Pierre Ynard [Wed, 1 Dec 2010 18:13:46 +0000 (19:13 +0100)]
wince: build fix
Pierre Ynard [Wed, 1 Dec 2010 17:47:27 +0000 (18:47 +0100)]
win32: vlc_thread_set_priority() is broken
Pierre Ynard [Wed, 1 Dec 2010 02:01:44 +0000 (03:01 +0100)]
rtp sout: fix memleak
Jean-Baptiste Kempf [Tue, 30 Nov 2010 21:18:12 +0000 (22:18 +0100)]
Mac: use a Native Search Line
This is a good example of how to use Mac native widgets (NSView) inside QtVLC
For some reason, this is broken on the main playlist, but it works great on the plugins dialog or the simple prefs/keys
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 30 Nov 2010 20:46:47 +0000 (21:46 +0100)]
Qt: misc simplifications and corrections
Jean-Baptiste Kempf [Tue, 30 Nov 2010 20:12:39 +0000 (21:12 +0100)]
Qt: use Qt4.7 clickLineEdit, if possible
Jean-Baptiste Kempf [Tue, 30 Nov 2010 20:04:26 +0000 (21:04 +0100)]
Qt: SearchLineEdit: rename function to match Qt4.7 names
Jean-Baptiste Kempf [Tue, 30 Nov 2010 20:00:48 +0000 (21:00 +0100)]
Qt: simplification
Jean-Baptiste Kempf [Tue, 30 Nov 2010 19:57:06 +0000 (20:57 +0100)]
Qt: split searchLineEdit in its own file
Rémi Denis-Courmont [Tue, 30 Nov 2010 17:51:19 +0000 (19:51 +0200)]
decklink: fix uninitialized on error path
Rémi Denis-Courmont [Tue, 30 Nov 2010 17:51:09 +0000 (19:51 +0200)]
declink: mutex leak
Felix Paul Kühne [Tue, 30 Nov 2010 17:28:37 +0000 (18:28 +0100)]
contribs: enable fluidsynth on Mac OS X and fetch it from SourceForge instead of Savannah
Jean-Baptiste Kempf [Tue, 30 Nov 2010 17:06:01 +0000 (18:06 +0100)]
Qt, Mac: reduce the size margins and change the color of the Splitter
Jean-Baptiste Kempf [Tue, 30 Nov 2010 16:49:31 +0000 (17:49 +0100)]
Qt, Mac: use the classical blue for the selector
Felix Paul Kühne [Tue, 30 Nov 2010 16:40:54 +0000 (17:40 +0100)]
macosx: fixed preferences compilation
Jean-Baptiste Kempf [Tue, 30 Nov 2010 12:21:02 +0000 (13:21 +0100)]
Contribs: make Qt4 available on mac
TUDURI Benoît [Tue, 20 Jul 2010 17:40:13 +0000 (19:40 +0200)]
Fix typo for Save Playlist in french translation.
Signed-off-by: Rafaël Carré <rafael.carre@gmail.com>
Rémi Denis-Courmont [Mon, 29 Nov 2010 20:52:01 +0000 (22:52 +0200)]
sout_InstanceNew: remove __
Ilkka Ollakka [Mon, 29 Nov 2010 20:06:40 +0000 (22:06 +0200)]
projectm: quick fix to get projectm visualisation to work on all locales
Rémi Denis-Courmont [Mon, 29 Nov 2010 18:27:26 +0000 (20:27 +0200)]
Unused mutex
Rémi Denis-Courmont [Tue, 23 Nov 2010 21:07:05 +0000 (23:07 +0200)]
Win32: simplify vlc_cancel()
Rémi Denis-Courmont [Mon, 29 Nov 2010 18:26:08 +0000 (20:26 +0200)]
Win32: simplify threads (merge cancel and thread data)
Rémi Denis-Courmont [Mon, 29 Nov 2010 18:15:46 +0000 (20:15 +0200)]
Replace vlc_detach() with simpler vlc_clone_detach()
vlc_clone_detach() is less flexible but we never used that lost
flexibilty. However, it will simplify a later Windows fix as well as
safely exposing detached threads to plugins.
Rémi Denis-Courmont [Mon, 29 Nov 2010 17:33:58 +0000 (19:33 +0200)]
Comments
Jean-Baptiste Kempf [Mon, 29 Nov 2010 12:02:29 +0000 (13:02 +0100)]
MobileVLCKit: remove mmap access in Aggregate
Jean-Baptiste Kempf [Sun, 28 Nov 2010 23:07:13 +0000 (00:07 +0100)]
Qt: fix previous commit
Jean-Baptiste Kempf [Fri, 26 Nov 2010 07:54:31 +0000 (08:54 +0100)]
Qt: playlist, use a better QSplitter, on Mac
It might be a good idea to do the same on other platforms
Jean-Baptiste Kempf [Fri, 26 Nov 2010 07:53:19 +0000 (08:53 +0100)]
Qt: use a Brushed Style on Mac
Jean-Baptiste Kempf [Fri, 26 Nov 2010 07:52:41 +0000 (08:52 +0100)]
Qt: use a drawer for extended Dialog on Mac
Jean-Baptiste Kempf [Sat, 31 Jul 2010 09:07:37 +0000 (11:07 +0200)]
Qt: no icons in Menus on Mac
Jean-Baptiste Kempf [Sun, 28 Nov 2010 21:07:35 +0000 (22:07 +0100)]
Doc: make it more clear how to sign the updates files
Jean-Baptiste Kempf [Sun, 28 Nov 2010 19:43:47 +0000 (20:43 +0100)]
Contribs: try to fix CDDB crash on Windows
Ref #3804
Rémi Denis-Courmont [Sun, 28 Nov 2010 14:08:26 +0000 (16:08 +0200)]
XCB: support platforms without System V shared memory (untested)
Francois Cartegnie [Sun, 28 Nov 2010 12:42:19 +0000 (13:42 +0100)]
Qt: Allow disabling or resampling background art.
Pierre Ynard [Sun, 28 Nov 2010 00:30:17 +0000 (01:30 +0100)]
Update comments relevent to --sout #description
Erwan Tulou [Wed, 24 Nov 2010 19:54:49 +0000 (20:54 +0100)]
skins2: rework the fullscreen controller
This rework includes:
- activation with mouse move
- transparency and fading out supported if the WM allows it
- fsc no longer a child window
(this latter point should work out the refresh problems
often mentioned on Vista and Win7)
Erwan Tulou [Mon, 22 Nov 2010 22:49:55 +0000 (23:49 +0100)]
skins2: avoid multiple strings with same value.
Erwan Tulou [Mon, 22 Nov 2010 22:34:23 +0000 (23:34 +0100)]
skins2: remove dead code
The possibility to trigger callbacks when changing preferences was removed
lately. So this code is now useless.
Rémi Denis-Courmont [Sat, 27 Nov 2010 18:00:45 +0000 (20:00 +0200)]
Win32: don't destroy variables without destroy callbacks
Rémi Denis-Courmont [Sat, 27 Nov 2010 17:59:32 +0000 (19:59 +0200)]
Remove the mmap access plugin
It cannot work properly due to SIGBUS when a file gets truncated.
In fact, this plugin had been disabled by default for as long as it had
been in VLC.
Rémi Denis-Courmont [Sat, 27 Nov 2010 14:14:41 +0000 (16:14 +0200)]
Remove unused msg_Stack stuff
Rémi Denis-Courmont [Sat, 27 Nov 2010 14:03:44 +0000 (16:03 +0200)]
Win32: really set fd_set size dynamically
Pierre Ynard [Sat, 27 Nov 2010 00:32:43 +0000 (01:32 +0100)]
rtsp: implement session timeouts
Based on keep-alive RTSP requests
Laurent Aimar [Fri, 26 Nov 2010 22:26:16 +0000 (23:26 +0100)]
Fixed win32 opengl provider.
CommonDisplay() must be called at least once to ensure that the window
content is shown.
Laurent Aimar [Sat, 13 Nov 2010 21:42:18 +0000 (22:42 +0100)]
Fixed opengl provider vout window selection.
Laurent Aimar [Sat, 13 Nov 2010 21:30:18 +0000 (22:30 +0100)]
Fixed coding style (window.c).
Laurent Aimar [Sat, 13 Nov 2010 19:41:36 +0000 (20:41 +0100)]
Used video_format_ScaleCropAr in scale.c/swscale.c
Laurent Aimar [Sat, 13 Nov 2010 19:40:42 +0000 (20:40 +0100)]
Added video_format_ScaleCropAr().
It computes correct crop/ar settings when scaling a video format.
Laurent Aimar [Fri, 12 Nov 2010 02:26:13 +0000 (03:26 +0100)]
Fixed crop parameters in transform filter.
Hugo Beauzée-Luyssen [Thu, 18 Nov 2010 12:10:57 +0000 (13:10 +0100)]
MKV: Use new vlc_delete_all to clear containers.
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
Hugo Beauzée-Luyssen [Thu, 18 Nov 2010 12:10:37 +0000 (13:10 +0100)]
vlc_arrays: Adding a C++ helper to clean a container
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
Jean-Paul Saman [Fri, 26 Nov 2010 15:51:04 +0000 (16:51 +0100)]
stream_filter/httplive.c: adapt debug logging
Move logging of current segment and stream. The previous place gave
confusing information.
Jean-Paul Saman [Fri, 26 Nov 2010 15:28:07 +0000 (16:28 +0100)]
stream_filter/httplive.c: do not crash on seeking
After the adaptive bandwidth changes seeking could end up in a segment
that is not available. Each segment is downloaded once and after switching
to higher or lower bandwidth segments downloaded for previous bandwidths
will not be deleted or downloaded. The later is to be fixed.
Jean-Paul Saman [Fri, 26 Nov 2010 14:34:14 +0000 (15:34 +0100)]
stream_filter/httplive.c: select stream with lowest bandwidth to start playback.
Start playback with the lowest bandwidth stream.
Jean-Paul Saman [Wed, 24 Nov 2010 09:10:51 +0000 (10:10 +0100)]
stream_filter/httplive.c: NexSegment() look for next segment in *any* of the hls_stream_t's.
NextSegment() assumed that the download thread its hls_stream_t was leading.
However this was too simplistic.
NextSegment() seeks the segment in *any* of the hls_stream_t, assuming that
each segment will be downloaded only once.
Jean-Paul Saman [Tue, 23 Nov 2010 14:23:22 +0000 (15:23 +0100)]
test/modules/stream_filter/httplive: script for traffic shaping
Test script for traffic shaping with tc (iproute).
Jean-Paul Saman [Tue, 23 Nov 2010 21:18:41 +0000 (22:18 +0100)]
stream_filter/httplive.c: determine correct next segment
Download the next segment from a playback standpoint.
Jean-Paul Saman [Tue, 23 Nov 2010 19:48:55 +0000 (20:48 +0100)]
stream_filter/httplive.c: cleanup
Cleanup NextSegment().
Jean-Paul Saman [Tue, 23 Nov 2010 13:02:41 +0000 (14:02 +0100)]
modules/stream_filter/httplive.c: corrected bandwidth calculation.
The bandwidth calculation needed corrections and is less agressive in
switching to higher bandwidths.
Rafaël Carré [Fri, 26 Nov 2010 15:52:09 +0000 (16:52 +0100)]
qt4: use the christmas icon on the same day (start at day 354)
(It was broken by
a8e4b30b )
Move the definition to qt4.hpp and add a comment
Pierre Ynard [Fri, 26 Nov 2010 08:23:12 +0000 (09:23 +0100)]
vlm: use a per-instance parent object to set VoD variables
Pierre Ynard [Fri, 26 Nov 2010 02:23:53 +0000 (03:23 +0100)]
vlm: make proper use of semaphore
Pierre Ynard [Thu, 25 Nov 2010 17:09:30 +0000 (18:09 +0100)]
description: don't use vlc_object_find()
If you want to use #description, you need to set up the appropriate
struct on pass it down as a variable
Rémi Denis-Courmont [Wed, 24 Nov 2010 20:52:57 +0000 (22:52 +0200)]
Win32: fix poll() with more than 64 sockets
Rémi Denis-Courmont [Wed, 24 Nov 2010 20:52:34 +0000 (22:52 +0200)]
Win32: fix a few warnings
Rémi Duraffort [Wed, 24 Nov 2010 20:50:56 +0000 (21:50 +0100)]
decklink: fix compilation.
Rémi Denis-Courmont [Wed, 24 Nov 2010 17:38:38 +0000 (19:38 +0200)]
Allow rescheduling a one shot timer from itself
Rémi Denis-Courmont [Wed, 24 Nov 2010 17:35:46 +0000 (19:35 +0200)]
Fix one shot timers
Rémi Denis-Courmont [Wed, 24 Nov 2010 17:01:28 +0000 (19:01 +0200)]
vlc_timer_schedule: fix resetting the timer from itself
This also fixes error handling: if the thread cannot be created, we do
fail cleanly.
Rémi Duraffort [Wed, 24 Nov 2010 16:59:55 +0000 (17:59 +0100)]
libvlc: remove unused structure member.
Rémi Duraffort [Wed, 24 Nov 2010 16:56:50 +0000 (17:56 +0100)]
win32: fix memleak.
Pierre Ynard [Wed, 24 Nov 2010 16:48:08 +0000 (17:48 +0100)]
variables: properly reset the variable tree in var_DestroyAll()
This allows using it at another time than destroying the object
Rémi Denis-Courmont [Wed, 24 Nov 2010 16:43:16 +0000 (18:43 +0200)]
cosmetic fix
Rémi Denis-Courmont [Wed, 24 Nov 2010 16:40:41 +0000 (18:40 +0200)]
Remove unused timer attribute
Pierre Ynard [Wed, 24 Nov 2010 07:40:57 +0000 (08:40 +0100)]
Fix grammar in comments
Rémi Denis-Courmont [Tue, 23 Nov 2010 21:36:17 +0000 (23:36 +0200)]
Win32: implement variable cleanup more similar to POSIX...
...and less prone to deadlocks. This restarts until all keys are NULL,
in case cleaning up reset one key back to a non-NULL value.
There is still a slight difference with POSIX still. POSIX will restarts
only after all destructors have been invoked, not after the first one.
Rémi Denis-Courmont [Tue, 23 Nov 2010 21:36:03 +0000 (23:36 +0200)]
Win32: also cleanup thread variable on cancellation
Rémi Denis-Courmont [Tue, 23 Nov 2010 21:24:19 +0000 (23:24 +0200)]
Win32: fix thread variable leaks
Rémi Denis-Courmont [Tue, 23 Nov 2010 21:27:44 +0000 (23:27 +0200)]
Win32: cancel_data is on the stack, don't free it
In practice, this bug was hidden by another bug in the thread variables
implementation: the destruction callback is never invoked.
Rafaël Carré [Tue, 23 Nov 2010 17:28:52 +0000 (18:28 +0100)]
Revert "input: Fill in the input_item es"
This reverts commit
eea468e632fe620228778b01bec36468222556bc .
When the media is played, the formats represent decoder output, and the ids are not preserved (video ES can be replaced by audio ES)
Rafaël Carré [Tue, 23 Nov 2010 17:28:34 +0000 (18:28 +0100)]
Revert "libvlc_media_get_tracks_info(): correct help"
This reverts commit
708a15ff0ec23067c5e2cda77b6ed3334ba18393 .
Rémi Duraffort [Tue, 23 Nov 2010 15:45:45 +0000 (16:45 +0100)]
Print a warning about static plugins and VLC only if VLC is built.
Erwan Tulou [Mon, 22 Nov 2010 20:32:57 +0000 (21:32 +0100)]
skins: add some transparency to the default skin
Default skin becomes slightly transparent when moved.
(deactivated by default, needs to be set up in preferences)
Erwan Tulou [Mon, 22 Nov 2010 20:10:52 +0000 (21:10 +0100)]
skins2: rework and simplify transparency
Several redraw were no longer needed
(tested successfully on Ubuntu/metacity and WinNT)
On Win32, switching back and forth between layered Window and not layered
window (case where only one of the two alpha parameters is < 255) was removed
because display was not satisfactory. (transition a bit weird)
Rémi Duraffort [Mon, 22 Nov 2010 14:07:12 +0000 (15:07 +0100)]
gestures: use static when needed.
Rémi Duraffort [Mon, 22 Nov 2010 14:06:11 +0000 (15:06 +0100)]
access_oss: return NULL instead of 0.
Lari Natri [Mon, 22 Nov 2010 01:57:59 +0000 (03:57 +0200)]
Fix for KDE device actions
This tiny patch enables opening of VideoCD/AudioCD/DVD discs with VLC in KDE when inserted, which was broken before.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Erwan Tulou [Mon, 22 Nov 2010 14:33:39 +0000 (15:33 +0100)]
skins2: improve the default skin placements
The default skins now benefits from relative positioning:
- main window centered
- playlist window centered with a 5% offset
- fullscreen controller centered at the bottom
of the screen with a 3% margin from the border
- other ancillary windows all centered
Erwan Tulou [Mon, 22 Nov 2010 14:38:56 +0000 (15:38 +0100)]
skins2: implement relative positioning
So far in skins2, all x, y, width and height were given in pixels, and
no reference to the screen resolution could be made.
This patch implements the following :
- all x, y, width, height can be given in pixels or in % of their container.
For windows, the container is the screen. For widgets, it can be the
layout or a panel.
- Five new tags eases up positioning
- position : relative position given as "Center", "West", "NorthWest", ...
- x/y-margin : margins to take into account (in px or %) wrt the borders.
- x/y-offset : additional offset to apply (in px or %).
- the image control can now accept a width and a height parameters.
Erwan Tulou [Mon, 22 Nov 2010 10:55:55 +0000 (11:55 +0100)]
skins2: ifdef code specific to WIN32
Erwan Tulou [Mon, 22 Nov 2010 08:47:54 +0000 (09:47 +0100)]
skins2: some optimisation and cosmetics when moving/resizing windows
On most WM, move and resize are noop as long as the window is not visible, and
these calls have to be reissued once the window becomes visible.
- so avoid unnecessary calls when there are known to be noop.
- remove a move in TopWindow that appears hackish
(it hides a MoveResize and is actually needed for _all_ windows)
Erwan Tulou [Fri, 19 Nov 2010 18:31:14 +0000 (19:31 +0100)]
skins2(Win32 and Linux): Don't refresh a window forcefully
A good practice is to invalidate the window and leave it to the OS to decide if a repaint is or not needed.
As a side effect, this fixes some alternative task switchers (alt-tab) on WinNT (like TaskSwitcher or ATTv) that displayed a black rectangle instead of the preview of the skin, because the skin engine was not doing things the usual way.
Erwan Tulou [Fri, 19 Nov 2010 18:30:05 +0000 (19:30 +0100)]
skins(Win32): Process events in the winProc (instead of the message loop)
Events like WM_PAINT should be processed in the WinProc, because
some functions directly call the WinProc (e.g UpdateWindow())
Erwan Tulou [Fri, 19 Nov 2010 18:58:36 +0000 (19:58 +0100)]
skins2: fix minor artefact with animated image
Don't do anything if the image doesn't change. Otherwise, some unpleasant
flickering occurs when the image is animated.