]>
git.sesse.net Git - vlc/log
Jean-Baptiste Kempf [Mon, 16 Mar 2009 22:32:20 +0000 (23:32 +0100)]
Qt: fix a crash when you don't want to have the recent items. And don't even show the menu.
Erwan Tulou [Sat, 14 Mar 2009 23:10:49 +0000 (00:10 +0100)]
skins2 vout manager
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Mon, 16 Mar 2009 19:12:08 +0000 (21:12 +0200)]
Qt4: hold objet while the popup menu is active
Rémi Denis-Courmont [Mon, 16 Mar 2009 18:37:34 +0000 (20:37 +0200)]
Remove a whole bunch of non-sensical vlc_object_hold()
In one case (noted by Erwan Tulou), this also fixes a large leak.
There is _absolutely_ no point in holding an object and releasing it
immediately. Holding an object only makes sense if:
- the object cannot vanish while calling vlc_object_hold(), and
- either:
- the object could have otherwise vanished before
vlc_object_release(), or
- there is no way to avoid the (otherwise not needed)
vlc_object_hold() because it comes from another component.
Conversely, it makes no sense to hold an object, if:
- it could vanish already while calling hold (race condition)
-> this is *invalid* and might crash,
- there is already a valid reference to the object throughout.
I don't know in which case that code was, but the popup menu definitely
does invalid object access in some cases. For instance:
- start playing a single video,
- seek to a few seconds before the end,
- open the popup menu, go to video / deinterlace,
- wait for the video to finish and the playlist to stop,
- click on "X" from the deinterlace submenu.
Oops.
Rémi Denis-Courmont [Mon, 16 Mar 2009 16:29:36 +0000 (18:29 +0200)]
Unused variable
Sébastien Escudier [Mon, 16 Mar 2009 13:33:50 +0000 (14:33 +0100)]
Enable tcp keep alive in http
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Jean-Paul Saman [Mon, 16 Mar 2009 09:59:04 +0000 (10:59 +0100)]
x11: remove unused variables in Control.
Jean-Paul Saman [Mon, 16 Mar 2009 09:55:42 +0000 (10:55 +0100)]
mozilla: remove npunix_old.c and npwin_old.cpp
Jean-Paul Saman [Fri, 13 Mar 2009 15:13:04 +0000 (16:13 +0100)]
mozilla: rewrite and license npunix.c/npwin.cpp under LGPLv2.1 (or later)
Jean-Paul Saman [Fri, 13 Mar 2009 11:47:52 +0000 (12:47 +0100)]
mozilla: Resolve files with conflicting licensing terms
Renamed:
npunix.c to npunix_old.c
npwin.cpp to npwin_old.cpp
Added new files from mozilla source code
npunix.c
npwin.cpp
Jean-Paul Saman [Mon, 16 Mar 2009 11:05:47 +0000 (12:05 +0100)]
macosx: fix function prototype of manage_cleanup (argument for pthread_cleanup_push).
Jean-Paul Saman [Mon, 16 Mar 2009 10:06:57 +0000 (11:06 +0100)]
macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqueue with pl_Locked.
updatePanelWithItem is called from modules/gui/macosx/intf.m line 1565 with playlist lock held.
If this solution is wrong then revert and fix properly.
Jean-Paul Saman [Tue, 10 Mar 2009 09:51:36 +0000 (10:51 +0100)]
macosx: cleanup
Rémi Duraffort [Mon, 16 Mar 2009 10:31:10 +0000 (11:31 +0100)]
remove dead links.
Rémi Duraffort [Mon, 16 Mar 2009 09:52:54 +0000 (10:52 +0100)]
update: fix objects leak.
Rémi Duraffort [Sun, 15 Mar 2009 21:57:48 +0000 (22:57 +0100)]
qt4: cleaning the singletons implementation.
brezhoneg1 [Mon, 16 Mar 2009 00:15:37 +0000 (01:15 +0100)]
Actually, the patch corrects three problems (2 pertaining to qt4 as a
dialog provider for skins and 1 as the regular qt4). The problems for
skins are real (lead to crashes when using menus). The one for regular
qt4 was obviously a typo, but sometimes even removing a typo may have
side effects. If so, please find attached a patch that reverts this part
of the previous patch.
Erwan10
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Jean-Baptiste Kempf [Mon, 16 Mar 2009 00:10:55 +0000 (01:10 +0100)]
Qt: Provide a clean way to not transcode in Sout dialog.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 23:34:45 +0000 (00:34 +0100)]
Skins2: less stupid match for opening the files.
Rémi Duraffort [Sun, 15 Mar 2009 20:20:16 +0000 (21:20 +0100)]
qt4_playlist: less includes.
Rémi Duraffort [Sun, 15 Mar 2009 20:03:25 +0000 (21:03 +0100)]
qt4: remove totology.
Fabio Ritrovato [Fri, 13 Mar 2009 22:13:46 +0000 (23:13 +0100)]
Fix popupSave/Stream deadlock
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
Rémi Duraffort [Sun, 15 Mar 2009 17:59:01 +0000 (18:59 +0100)]
qt4: fix memleak.
Erwan Tulou [Fri, 13 Mar 2009 19:10:18 +0000 (20:10 +0100)]
qt4-correct several problems related to p_input (main input manager class)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Sun, 15 Mar 2009 18:58:22 +0000 (20:58 +0200)]
Cosmetics
Erwan Tulou [Fri, 13 Mar 2009 19:43:54 +0000 (20:43 +0100)]
X11: make sure base window is really destroyed...
...before calling release function of the window provider
(only way to prevent possible BadWindow xlib error)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:45:06 +0000 (19:45 +0200)]
dvdnav: don't probe stdin (this just removes a silly error message)
Jean-Baptiste Kempf [Sun, 15 Mar 2009 17:20:30 +0000 (18:20 +0100)]
Qt: QString::number is more maintainable than QString("%1").arg syntax
Jean-Baptiste Kempf [Sun, 15 Mar 2009 16:57:37 +0000 (17:57 +0100)]
Qt: correctly split options and escape ':' so if your dshow devices or your subtitle contains a " :" in the name, it is correctly opened.
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:21:06 +0000 (19:21 +0200)]
stats leaks
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:13:23 +0000 (19:13 +0200)]
Memory leak
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:04:54 +0000 (19:04 +0200)]
Allow libxml 2.7. Leak memory.
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:06:37 +0000 (18:06 +0200)]
Require libxml2 < 2.7
Thread initialization has changed in 2.7, such that VLC and Qt4 cannot
both use libxml2. While this maximum version requirement is bound to
frustrate Linux/BSD users, we cannot fix this within VLC. Falling back
to xtag is not quite as bad as crashing.
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:01:41 +0000 (18:01 +0200)]
configure: use pkg-config for GNOME-XML
We need libxml version 2.5 for text reader.
pkg-config is present since version 2.3 at least (over 8 years ago).
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:01:19 +0000 (18:01 +0200)]
configure: trivial factorization
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:41:19 +0000 (03:41 +0100)]
Qt: remove Preferences singleton. Simplify and Close #2552 and #2551
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:27:29 +0000 (03:27 +0100)]
Qt menu, "Open Location from Clipboard."
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:07:14 +0000 (03:07 +0100)]
Qt: provide a way to dump from the convert dialog.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:52:02 +0000 (02:52 +0100)]
Qt: String change for 'Track Synchronization'
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:47:21 +0000 (02:47 +0100)]
Qt: move Sout Dialog out of singleton.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:38:03 +0000 (02:38 +0100)]
Qt: Sout strings modification.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:19:34 +0000 (02:19 +0100)]
Qt: various string fixes and consistencies in the ui
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:12:51 +0000 (02:12 +0100)]
Qt: don't use "Open a Media"
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:03:10 +0000 (02:03 +0100)]
Qt: split correctly the input options for Convertion and Sout Dialogs.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:00:54 +0000 (02:00 +0100)]
Qt: includes barrier fix.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 19:40:38 +0000 (20:40 +0100)]
Qt: qt4.cpp cosmetics.
Rémi Denis-Courmont [Sat, 14 Mar 2009 20:29:17 +0000 (22:29 +0200)]
Adaptive PCM: set the output category (fixes assertion)
Laurent Aimar [Sat, 14 Mar 2009 19:43:15 +0000 (20:43 +0100)]
Improved preroll in avcodec.
Do not decode non reference pictures while prerolling.
It improves seek performance when decoding with ffmpeg.
Laurent Aimar [Sat, 14 Mar 2009 18:44:33 +0000 (19:44 +0100)]
Prevent a segfault with Xv video output and too bug image.
It should fix/workaround https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/324911
but I am not sure if it is the right way.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 16:40:49 +0000 (17:40 +0100)]
Qt: match the access changes for cdda-track specification (commit
55e3dca3b7164bfb8aeafc21b9e9ea6258cf4bf9 by fenrir )
Jean-Baptiste Kempf [Sat, 14 Mar 2009 16:12:19 +0000 (17:12 +0100)]
Qt: try to debug and solve the dshow-vdev issue.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:51:30 +0000 (16:51 +0100)]
Qt: Cosmetics and msg_Dbg.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:48:58 +0000 (16:48 +0100)]
Qt: correctly handle cancelling of sout/convert dialogs. Update copyrights.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:39:20 +0000 (16:39 +0100)]
Qt: remove all the """ present in the Sout mRL.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 15:36:23 +0000 (16:36 +0100)]
Qt: Profiles, define codec=none when no transcoding is wanted by the user.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 14:49:51 +0000 (15:49 +0100)]
Qt: profiles, make difference between:
- Trash Audio
- Keep original Audio
Jean-Baptiste Kempf [Sat, 14 Mar 2009 14:16:57 +0000 (15:16 +0100)]
Qt: use LineEdits for width and height and state that you can have one of them empty.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:42:52 +0000 (14:42 +0100)]
Qt: Sout Profiles: be sure to set a mux.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:40:02 +0000 (14:40 +0100)]
Qt: fix sample rate selection in the Sout profile.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:22:01 +0000 (14:22 +0100)]
Qt4.3 compatibility.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:19:35 +0000 (14:19 +0100)]
Qt: Minimal change in SPrefs for alignment.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:13:49 +0000 (14:13 +0100)]
Correctly set GSM fourcc
Jean-Baptiste Kempf [Sat, 14 Mar 2009 13:13:34 +0000 (14:13 +0100)]
Remove unneeded string.
Laurent Aimar [Thu, 12 Mar 2009 23:29:19 +0000 (00:29 +0100)]
Added missing lock for INPUT_EVENT_ABORT check (input).
Laurent Aimar [Thu, 12 Mar 2009 21:50:26 +0000 (22:50 +0100)]
Reworked and improved TS ES with stream_type equals to 0x06.
Laurent Aimar [Thu, 12 Mar 2009 19:30:46 +0000 (20:30 +0100)]
Cosmetics (ts).
Laurent Aimar [Thu, 12 Mar 2009 19:13:29 +0000 (20:13 +0100)]
Send INPUT_EVENT_ABORT from input thread instead of input_StopThread.
It is cleaner to not send event from caller threadand will fix a deadlock in the
playlist code.
Derk-Jan Hartman [Thu, 12 Mar 2009 15:47:25 +0000 (16:47 +0100)]
macosx intf: switch a vlc_object_find to input_GetAout
Derk-Jan Hartman [Thu, 12 Mar 2009 15:46:57 +0000 (16:46 +0100)]
macosx intf: aout leaks
Rémi Denis-Courmont [Thu, 12 Mar 2009 15:41:02 +0000 (17:41 +0200)]
avformat: lock avcodec
This is ugly but we can do jack about this (short of forking ffmpeg).
Rémi Denis-Courmont [Thu, 12 Mar 2009 15:34:36 +0000 (17:34 +0200)]
avcodec, switcher: use the global avcodec lock
Rémi Denis-Courmont [Thu, 12 Mar 2009 15:27:37 +0000 (17:27 +0200)]
Add a centralized avcodec lock
avcodec is used from at least three different plugins: avcodec,
switcher (which seems dead though) and indirectly in avformat. We need
to have a common interlock for all of these.
Rémi Duraffort [Thu, 12 Mar 2009 14:45:38 +0000 (15:45 +0100)]
qt_vlm: add some const for the QString.
Rémi Denis-Courmont [Thu, 12 Mar 2009 14:49:37 +0000 (16:49 +0200)]
libavutil callback cannot assume it has a VLC object
This fixes a crash from the avformat (de)mux.
Rémi Duraffort [Wed, 11 Mar 2009 19:11:40 +0000 (20:11 +0100)]
skins2: operator '=' return a reference.
Rémi Duraffort [Wed, 11 Mar 2009 18:48:29 +0000 (19:48 +0100)]
skins2: remove unused function.
Rémi Duraffort [Wed, 11 Mar 2009 18:01:51 +0000 (19:01 +0100)]
vcdx: use ifdef instead of if.
Rémi Duraffort [Wed, 11 Mar 2009 15:31:26 +0000 (16:31 +0100)]
qt4_sout: use references for const QString.
Rémi Duraffort [Wed, 11 Mar 2009 13:04:43 +0000 (14:04 +0100)]
bda: fix potential uninitialized value.
Rémi Duraffort [Tue, 10 Mar 2009 13:59:55 +0000 (14:59 +0100)]
zipstream: fix potential memleak.
Rémi Duraffort [Mon, 9 Mar 2009 09:52:21 +0000 (10:52 +0100)]
unused variables.
Jean-Baptiste Kempf [Wed, 11 Mar 2009 23:47:13 +0000 (00:47 +0100)]
x264: obsolete pre-scenecut option.
JP Dinger [Fri, 6 Mar 2009 12:22:27 +0000 (13:22 +0100)]
s/(void)p_e;/VLC_UNUSED(p_e);/
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Vicente Jimenez Aguilar [Tue, 10 Mar 2009 16:53:00 +0000 (17:53 +0100)]
Missing use of options in test.html added playlist items.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Sabourin Gilles [Wed, 11 Mar 2009 23:05:53 +0000 (00:05 +0100)]
x264 Removed pre-scenecut definitions for build 67
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Laurent Aimar [Wed, 11 Mar 2009 22:35:14 +0000 (23:35 +0100)]
Fixed some DVD menus.
Laurent Aimar [Wed, 11 Mar 2009 22:20:26 +0000 (23:20 +0100)]
Export ES_OUT_GET_EMPTY which is needed for interactive video.
Laurent Aimar [Tue, 10 Mar 2009 21:56:41 +0000 (22:56 +0100)]
Fixed DecoderUpdatePreroll.
It makes prerolling less precise but it will avoid loosing valid
frame.
Rémi Denis-Courmont [Tue, 10 Mar 2009 20:44:23 +0000 (22:44 +0200)]
Almost wait-free snapshot handling in the vout thread
Using vlc_mutex_trylock(), we make sure that the video output thread
will not yield because of an incomplete snapshot request. It can still
yield in the very unlikely case that a thread is doing a snapshot
request while the video output thread finishes sorting SPUs _and_ there
already was a pending snapshot earlier.
Rémi Denis-Courmont [Tue, 10 Mar 2009 20:43:54 +0000 (22:43 +0200)]
Add vlc_mutex_trylock
Pierre Ynard [Wed, 11 Mar 2009 11:13:18 +0000 (12:13 +0100)]
Win32: disable sprintf wrapper for %z
The macros are indeed a little bit too intrusive, and break calls to
QString::sprintf
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
André Weber [Wed, 11 Mar 2009 18:13:27 +0000 (19:13 +0100)]
Fixed a Bug in UpdateEdgeWeighting used wrong const for number of columns (copy and paste error)
Rémi Denis-Courmont [Tue, 10 Mar 2009 21:16:03 +0000 (23:16 +0200)]
Fix libvlc_add_intf documentation
Rémi Denis-Courmont [Tue, 10 Mar 2009 18:05:59 +0000 (20:05 +0200)]
Fix progress dialog scale
Rémi Denis-Courmont [Tue, 10 Mar 2009 17:29:00 +0000 (19:29 +0200)]
Win32 compile fix
Rémi Denis-Courmont [Tue, 10 Mar 2009 16:54:03 +0000 (18:54 +0200)]
RTP out: improve soft-error handling
When the socket is congested, we should simply skip sending.
When there is a soft-error, we should resend and simply ignore.
Instead, we were dropping the socket if the failure remained on the
second try, which was always the case in the congestion scenario.
This should fix the socket dropping problem described at:
http://forum.videolan.org/viewtopic.php?f=4&t=56493
JP Dinger [Tue, 10 Mar 2009 11:11:23 +0000 (12:11 +0100)]
De-deprecate activex plugin.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
JP Dinger [Tue, 10 Mar 2009 12:22:06 +0000 (13:22 +0100)]
Move users of playlist_select() inline.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Pierre Ynard [Mon, 9 Mar 2009 11:18:14 +0000 (12:18 +0100)]
Win64: properly work around %z modifiers
size_t are 64-bit long on Win64, adapt the wrapper for it
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Pierre Ynard [Mon, 9 Mar 2009 11:19:10 +0000 (12:19 +0100)]
Win32: remove uneeded %z hack
Since we now have a general work around, this hack is not needed
anymore. This reverts commit
6f1a7b41f0f2175ceb1dd399b1ded5e30ffe704b
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>