p_sample_offset_pts must be NULL if MP4_TRUN_SAMPLE_TIME_OFFSET is not
present. Then MP4_TrackGetPTSDelta would return -1 (instead of 0
previously), and PTS of video frames would be set to VLC_TS_INVALID,
which is the right thing to do in that case.
David Fuhrmann [Fri, 21 Sep 2012 08:46:03 +0000 (10:46 +0200)]
macosx: suppress format warnings in StringUtility
According to http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/Strings/Articles/formatSpecifiers.html
%C is the right one for unicode characters.
David Fuhrmann [Fri, 21 Sep 2012 08:20:35 +0000 (10:20 +0200)]
macosx: remove hack when changing embedded video setting
I have been testing without this code for quite a while now, and I never
got the crash responsible for this hack anymore. So, lets remove the
hack, and if the crash occurs again, we should find a proper way to
fix it.
David Fuhrmann [Fri, 21 Sep 2012 07:48:14 +0000 (09:48 +0200)]
macosx: create new classes for all controls bar related code
Now, we have two classes (instantiated from the xib file for each window)
with controls bar stuff:
- VLCControlsBarCommon holds all code common for main and detached window
- VLCMainWindowControlsBar adds code specific for the main window bar
With that, we can avoid all these redundant code for o_detached_*, furthermore
this decouples all detached window control bar stuff from MainWindow.m.
The objects can be accessed through the controlsBar method.
Martin Storsjö [Wed, 19 Sep 2012 09:54:45 +0000 (12:54 +0300)]
omxil: Look for the role video_decoder.wmv for VC1
On the Galaxy S3 at least, the component OMX.SEC.vc1.dec only
exposes this role, not video_decoder.vc1.
The role name video_decoder.vc1 is pretty recent (from OMX IL 1.2),
and in that spec version the coding field should be OMX_VIDEO_CodingVC1
instead of OMX_VIDEO_CodingWMV as it currently is. The omxil module
currently only uses OMX IL 1.1 headers, and so does Android.
Threading does not currently work with some codec profiles and is thus
not suited as default. Threading is also known to deadlock in certain
circumstances, such as if no data is ever received (a rather common
scenario with network or DVB reception).
Fixed avcodec version should be checked before this is re-enabled.
Felix Paul Kühne [Tue, 18 Sep 2012 09:58:23 +0000 (11:58 +0200)]
macosx: work-around a playlist core limitation, which doesn't allow the UI to set the currently displayed root properly, so triggering a play can lead to unwanted results (close #7484)
Pierre Ynard [Mon, 17 Sep 2012 03:54:59 +0000 (05:54 +0200)]
youtube.lua: use alternative API URL
It seems that the normal URLs included in the web page miss a
"signature" field and return 403 errors now. This approach has a number
of issues, it requires an extra HTTP request, still seems to fail due
to lack of signatures, and have different access restrictions than the
the web pages.
John Peterson [Sun, 16 Sep 2012 09:48:15 +0000 (11:48 +0200)]
Fixing contrib 'make prebuilt' and 'make package' to use the repo version of change_prefix.sh instead of a version inside the contrib package.
The script shouldn't be included in the contrib package because the intention has not been to have different versions of the file depending on platform. If necessary the script can take into account differences between platforms instead of coming in different versions.
Daniel Peng [Sat, 15 Sep 2012 04:58:09 +0000 (00:58 -0400)]
Update to 2012.09.13 version of live555.
This resolves two issues with playback of RTSP-over-http streams from Foscam h.264 IP cameras.
Combined with a small fix to modules/demux/live55.cpp, VLC now plays 'rtsp://hostname/iphone/11?user:password&' from Foscam h.264 cameras.
Mark Lee [Fri, 7 Sep 2012 18:30:47 +0000 (19:30 +0100)]
Add new API to libvlc for persistent equalizer settings.
New methods are provided to:
- get the available equalizer presets;
- get the available frequency bands (useful for creating a UI);
- create a new default equalizer, or create a new equalizer from a preset;
- release a previously created equalizer;
- get/set preamp and individual frequency amplification values;
- apply equalizer settings to a media player.
Equalizer settings are persistent, can be made whether media is currently playing or not, and will automatically be applied to subsequently played media.
podcasts: ensure saved urls are loaded before change. fix #4337
Podcast module does not have previous session urls loaded when a
change request is called first. As this list is also saved on any
change, the original list is lost.
Daniel Peng [Fri, 14 Sep 2012 03:49:38 +0000 (23:49 -0400)]
Some RTSP implementations (Foscam H.264 IP cameras) return HTTP/1.1 501 Unimplemented on OPTIONS requests. Don't fail out in this case; just continue and assume GET_PARAMETERS is unsupported.
I have a Foscam h.264 IP camera with a very strange RTSP-over-HTTP
server, and I wanted to get VLC to play it back. Here's the patch
to VLC; I also had a patch committed to live555 to resolve a few
other issues, and that's available in live.2012.09.13.tar.gz. Do I
need to submit a patch to contrib/src/live555/rules.mak to pick that
new version up? Or is there a special process for that? Or should
I just wait a little bit? :)