Rafaël Carré [Fri, 25 Oct 2013 16:26:38 +0000 (18:26 +0200)]
dbus inhibit: gnome >= 3.6 and < 3.10 is not supported
It uses the correct path name "/org/freedesktop/ScreenSaver" for the interface,
not the name that KDE came up with ("/ScreenSaver").
Gnome 3.10 supports the KDE interface now, see
https://mail.gnome.org/archives/commits-list/2013-September/msg00736.html
Support for gnome 3.6 screensaver is probably not worth it, as the daemon
crashes on Uninhibit.
Josh Watzman [Wed, 16 Oct 2013 05:21:40 +0000 (05:21 +0000)]
Revert "macosx: fixed compilation warning and potential, runtime exception"
This reverts commit 55e3f94302a29e9ee76532c290c1134af5f0213e and fixes it the right way. I'm honestly not sure what's going on in that commit -- it silences the compiler warning not by actually fixing the problem (which is that the method isn't declared in the interface) but just by not making the method call visible to the compiler! It also completely breaks the feature, by moving things onto the main thread that can't be there, causing a deadlock, as specifically noted in the comment right above this code.
In any event, it's easy enough to revert and add to the interface properly, silencing the compiler warning and unbreaking this extension feature.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Rafaël Carré [Thu, 15 Aug 2013 08:56:38 +0000 (10:56 +0200)]
Win32 threads: remove functions forbidden on Windows Store
Do not create a suspended thread so ResumeThread becomes unnecessary.
Busy loop over thread handle if by misfortune the thread ends before
_beginthreadex has returned.
Do not use SetThreadPriority on Windows Store.
Set the cancelled thread bit outside of the APC procedure.
APC is still used to wake up the cancelled thread when it is in an alertable state
(SleepEx or WaitForMultipleObjectsEx).
Since QueueUserAPC is forbidden on Windows Store we check the cancelled state every
50 ms.
Rafaël Carré [Wed, 16 Oct 2013 11:03:02 +0000 (13:03 +0200)]
contrib: speex: fix build with recent automake
Disable the API function returning version string as it uses old
automake functionality that might be buggy/not supported anymore.
Don't bother fixing properly as we don't use that function and libspeex is now
an abandoned projet (move to Opus!)
Erwan Tulou [Thu, 17 Oct 2013 19:28:20 +0000 (21:28 +0200)]
skins2: add support for subtitle drag'n'drop
This patch copies the Qt interface implementation wrt file dropping, namely:
- first try it as a subtitle file if it is relevant
- second, try it as an item to be added to the playlist if not a subtitle
http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2
is a release tarball
http://webm.googlecode.com/files/libvpx-v1.2.0.tar.bz2
is a daily updated git snapshot
libvpx has no release tarballs (or releases) anymore apparently.
Rafaël Carré [Mon, 14 Oct 2013 10:48:31 +0000 (12:48 +0200)]
x265: detect X265_BUILD
As the library symbols are suffixed with the exact build version, and
it is not clear yet whether the API will be broken or simply extended,
watch for the exact version number (which is 1)
Previously it was a dumb stream size based seeking, and was
very approximative with multi-streams or non fixed bitrate
stream.
There was some code in oggseek to bisect search for frames,
which i previously linked to opus seeking, but it was
not reusable by all codecs as the ogg spec says granule to
absolute time is one way only.
New code does bisect search using absolute time only, and
then tries to sync to a specific keyframe (if codec has any),
backward or forward by checking packets.
Bisect and backward searchs are disabled for non FASTSEEK inputs.
In that case, it just behaves like any other player and syncs
to the next keyframe.
Gal Vinograd [Sat, 12 Oct 2013 21:24:18 +0000 (23:24 +0200)]
Adding "save to playlist" menu item in submenu Recents.
adding RecentsMRL::toPlaylist()
refactoring functions to eliminate repeating code
refactoring public DialogProvider::saveAPlaylist() to private DialogProvider::saveAPlaylist(playlist_t *p_playlist, playlist_item_t *p_node)
and making new DialogProvider::savePlayingToPlaylist() and DialogProvider::saveRecentsToPlaylist()
this commit includes fixes related to Jean-Baptiste Kempf code review.
- fixing whitespace problem
- RecentsMRL::toPlaylist null handling
David Robison [Sat, 12 Oct 2013 10:59:53 +0000 (13:59 +0300)]
input: improved buffering accuracy and no rebuffering on ignored
To test this change, I used a MiniMaxwell which allows me to introduce
jitter, delay, and packet re-ordering in the video stream. I ran for
over 12 hours with no effect on the video and no increase in buffer
size. I'm reattaching the final patch here. I've made 2 basic changes
to the buffering strategy:
1) I now check to see if I and done buffering on both the
ES_OUT_SET_PCR and ES_OUT_SET_GROUP_PCR calls. This causes the buffered
amount to be checked more frequently and prevents over buffering which
I have seen in some instances
2) When ignoring the jitter, I do not flush the buffer and rebuffer,
since I am not increasing the buffer size anyway. Instead I just reset
the PCR and continue on.